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

Outputs headers in Pascal-Case. #830

Closed
wants to merge 1 commit into from
Closed

Conversation

albertjan
Copy link

I understand that according to the RFC headers aren't case-sensitive. But I ran into a server where they were, phantomjs-ghostdriver (version: 1.9.7). And because this library is used in @webdriverjs. Well you see the problem. The issue is fixed in the phantomjs webserver, but apparently still not shipped :shipit: or it's due to me running on windows (ariya/phantomjs#11487). Since it doesn't really matter and most clients do output the headers in Pascal-Case. I thought it might be a good idea to address it here.

@camme I ran into the "cannot get a session token" issue. When connection directly to phantomjs from webdriverjs. With this "fix" it works.

I understand that according to the RFC headers aren't case-sensitive. But I ran into a server where they were, phantomjs-ghostdriver (version: 1.9.7). And because this library is used in @webdriverjs. Well you see the problem. The issue is fixed in the phantomjs webserver, but apparently still not shipped :shipit:. Since it doesn't really matter and most clients do output the headers in Pascal-Case. I thought it might be a good idea to address it here.
@albertjan
Copy link
Author

May have been addressed here aswell I don't read mandarin :neckbeard: #669

@albertjan
Copy link
Author

I can't reproduce the error in the tests on my machine here at work will try at home on my mac. I don't really see how this failing test has anything to do with the changes I made though 😄

@lalitkapoor
Copy link
Member

@albertjan please see #804 (comment)

@dzcpy
Copy link

dzcpy commented May 12, 2014

👍

@dzcpy
Copy link

dzcpy commented May 16, 2014

When will this pull request be merged? Please also refer to this pull request #669. All the HTTP client tools or browsers I know uses Pascal-Cases. It would be nice if we could use the convention that most people use. I have experienced some errors on special servers that doesn't recognize lowercase headers.

@mikeal
Copy link
Member

mikeal commented Aug 27, 2014

no longer merges cleanly :(

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.

None yet

4 participants