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

permissive server date header parsing #1117

Merged
merged 1 commit into from
Feb 9, 2021
Merged

permissive server date header parsing #1117

merged 1 commit into from
Feb 9, 2021

Conversation

danielhochman
Copy link
Contributor

Parse HTTP header timestamps without the leading 0 on the day number.

Fixes #1115

@skmcgrail skmcgrail self-requested a review February 5, 2021 22:12
Co-authored-by: Daniel Hochman <danielhochman@users.noreply.github.com>
@skmcgrail
Copy link
Member

skmcgrail commented Feb 8, 2021

@danielhochman thanks for putting this together, after some thought I've gone ahead and moved this code over to github.com/aws/smithy-go/transport/http as I think long-term we will want to have this relaxed parser support over there.

I have created aws/smithy-go#268 to contain that functionality and have rebased this PR to depend on that behavior.

@danielhochman
Copy link
Contributor Author

sounds good 👍

@skotambkar skotambkar merged commit f0315d8 into aws:main Feb 9, 2021
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

Successfully merging this pull request may close these issues.

RecordResponseTiming fails to parse Kinesis Date header format
3 participants