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

Treat HTTP headers case-insensitively #3694

Merged
merged 2 commits into from
Jul 20, 2021

Conversation

l1bbcsg
Copy link
Contributor

@l1bbcsg l1bbcsg commented Jun 30, 2021

HTTP headers are case-insensitive and Headers object keys are lowercase to accommodate for that.

getLatestMPDRequestHeaderValueByID is used only once within the project and it's called with a string 'Date' which without being converted to lower case never matches any headers. This caused time synchronisation through Date header not to work.

@l1bbcsg l1bbcsg changed the title Tread HTTP headers case-insensitively Treat HTTP headers case-insensitively Jun 30, 2021
@dsilhavy
Copy link
Collaborator

dsilhavy commented Jul 1, 2021

@l1bbcsg Thank you for your contribution.

Following our contribution guidelines, and since this seems to be your first PR, could you please send me a signed copy of dash.js feedback agreement?

Thanks

@dsilhavy
Copy link
Collaborator

@l1bbcsg Is it possible for you to sign this?

@l1bbcsg
Copy link
Contributor Author

l1bbcsg commented Jul 19, 2021

Just did it actually.

Sorry for the delay, ran it through legal department of my company first, then it took some time to find a printer I could use in the COVID world.

@dsilhavy Can you clarify where to send it? Theres a mailing list, but I can't find its actual email and you don't have a public email on your profile.

@dsilhavy
Copy link
Collaborator

@l1bbcsg Thanks, please send to daniel.silhavy (at) fokus.fraunhofer.de

@l1bbcsg
Copy link
Contributor Author

l1bbcsg commented Jul 19, 2021

Done

@dsilhavy dsilhavy added this to the 4.0.1 milestone Jul 19, 2021
@dsilhavy dsilhavy self-requested a review July 19, 2021 13:44
@dsilhavy
Copy link
Collaborator

Thanks this PR looks good

@dsilhavy dsilhavy merged commit 37d815b into Dash-Industry-Forum:development Jul 20, 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.

2 participants