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

X-PJAX is X-Pjax #10

Closed
littke opened this issue Apr 15, 2011 · 10 comments
Closed

X-PJAX is X-Pjax #10

littke opened this issue Apr 15, 2011 · 10 comments

Comments

@littke
Copy link
Contributor

littke commented Apr 15, 2011

Hey.

Both Chrome dev and Firefox 4.0 seem to be converting the name of the header to X-Pjax, so looking for X-PJAX serverside didn't work for me.

@defunkt
Copy link
Owner

defunkt commented Apr 16, 2011

Are you sure this isn't your web framework? Firefox 4 on OS X is sending X-PJAX for me.

@littke
Copy link
Contributor Author

littke commented Apr 16, 2011

FF 4.0.1 on Mac OS X 10.6.7: http://cl.ly/63Ek

Chrome dev says the same thing although admittedly the inspector doesn't allow me to look at a XHR atm.

@Zoramite
Copy link

Ubuntu 10.10 Chrome Dev shows this in the HAR output:

{"name":"X-Pjax","value":"true"}

@voxpelli
Copy link

HTTP Headers are case-insensitive according to the spec: http://www.rfc2616.com/#4.2 So this shouldn't be an issue - you should always check in a case-insensitive way anyway.

@littke
Copy link
Contributor Author

littke commented Apr 26, 2011

Good point.

@defunkt
Copy link
Owner

defunkt commented Apr 27, 2011

Closing this unless someone thinks pjax should do something about it.

@defunkt defunkt closed this as completed Apr 27, 2011
@littke
Copy link
Contributor Author

littke commented Apr 27, 2011

I guess updating the documentation would be in order. I'll start handling it as lower case anyhow.

@huemorgan
Copy link

The back button (history) doesn't work when PJAX is on - I don't know if it's just a browser issue or
if it's not supported by PJAX - couldn't find an answer anywhere else.

I use Chrome 11.0.696.71 on Snow Leopard

@lotyrin
Copy link

lotyrin commented Jun 6, 2011

@huemorgan: You're gonna want to file that as a different bug, because it is not related to this at all...

@Mstafamhamadmhamad
Copy link

Hey.

Both Chrome dev and Firefox 4.0 seem to be converting the name of the header to X-Pjax, so looking for X-PJAX serverside didn't work for me.

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

7 participants