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

support POST responses for html #757

Closed
jeffkaufman opened this Issue Jul 29, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@jeffkaufman
Copy link
Contributor

jeffkaufman commented Jul 29, 2014

Reported on the mailing list:

I am using pagespeed with proxy_pass directive:

location ~* ^/path/ {
    proxy_pass http://host;
    proxy_cache off;
    proxy_cache_valid 0;
    pagespeed on;
}

Responses to GET requests are being transformed normally but responses for POST queries are totally ignored by Pagespeed.
WTF? Content-Type of response is text/html in both cases.

Testing on jefftk.com, I could reproduce this.

Next step is to run pagespeed locally and figure out where nginx processing of POSTs diverges from GETs.

oschaaf added a commit that referenced this issue Aug 7, 2014

rewriting-posts: Support POST responses for html
Allow rewriting html responses to POST requests

Fixes #757

oschaaf added a commit that referenced this issue Aug 7, 2014

rewriting-posts: Support POST responses for html
Allow rewriting html responses to POST requests

Fixes #757
@oschaaf

This comment has been minimized.

Copy link
Member

oschaaf commented Aug 26, 2014

Fixed in trunk-tracking via #767 (8f6bb0c)

@oschaaf oschaaf closed this Aug 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment