Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update_html overwrites content_type inappropriately, breaks REST::Utils #203

Open
spazm opened this issue May 8, 2017 · 0 comments
Open

Comments

@spazm
Copy link
Contributor

spazm commented May 8, 2017

[email protected] reported on Nov 29, 2011

1. try to build REST::Utils using yesterday's (11/28/2011) versions from CPAN, tests fail.
2. the failing tests are expecting a content_type of application/xhtml+xml but are getting text/html
3. It looks like the recent change to WWW::Mechanize::is_html so that it now is true for application/xhtml+xml means that WWW::Mechanize::update_html needs to be more careful when it sets $self->{ct}, always forcing it to text/html does not seem like the right thing.

What version of the product are you using? On what operating system?

Perl 5.14.2, CPAN mirror from morning of 11/28.  Suse Linux.

Details

Imported from Google Code issue 226 via archive

  • Type: Defect
  • Date: Nov 29, 2011
  • Reporter: [email protected]
  • Owner: ----
  • Priority: Medium
  • Status: New
simbabque pushed a commit to simbabque/WWW-Mechanize that referenced this issue Jul 4, 2022
simbabque pushed a commit to simbabque/WWW-Mechanize that referenced this issue Jul 4, 2022
oalders pushed a commit that referenced this issue Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant