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
Add fallback to ISO 8601 date format in ContentDispositionParser
.
#554
Add fallback to ISO 8601 date format in ContentDispositionParser
.
#554
Conversation
Ping? |
Hi, thanks for proposing this change, and apologies you haven't gotten any feedback until now. There are tests covering the behavior of I'd be open to merging this if I saw, as part of this PR:
Thanks for being open to this request. |
The current behavior is that it raises an |
@flavorjones, I added some tests. The other test failures seem unrelated. |
Hi @reitermarkus, thanks for adding the test coverage. The change of behavior (from raising an exception to returning The existing test failures are ... well, that's not great. Mechanize has not received much attention from maintainers recently. I'll try to set aside some time over the holidays to try to get the tests in shape again. |
758e7fc
to
ccd0a45
Compare
I just rebased off |
ccd0a45
to
d11597b
Compare
Looks good, merging. Will be in the next release, v2.8.0. |
Some websites incorrectly use ISO 8601 for the dates, causing an exception to be raised and rendering all other correctly specified fields unusable.