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

responce code is 405 will send twice request #12260

Closed
quanjunjie531 opened this Issue Nov 8, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@quanjunjie531

quanjunjie531 commented Nov 8, 2017

image

if request length more than 2000 will be errors,and this request type is POST(responce code is 405,my server disabled POST request), after the error wille request again by GET and success,

how to solve this.

@sgiehl

This comment has been minimized.

Show comment
Hide comment
@sgiehl

sgiehl Nov 8, 2017

Member

why are you disallowing POST requests?
Requests with a length over 2000 chars might fail due to it's length in IE and maybe other browsers. So Piwik sends those request using POST and there is no possibility to change that.
I would highly recommend to enable POST requests, otherwise you will have an inaccurate tracking.

Member

sgiehl commented Nov 8, 2017

why are you disallowing POST requests?
Requests with a length over 2000 chars might fail due to it's length in IE and maybe other browsers. So Piwik sends those request using POST and there is no possibility to change that.
I would highly recommend to enable POST requests, otherwise you will have an inaccurate tracking.

@sgiehl sgiehl closed this Nov 8, 2017

@sgiehl sgiehl added the answered label Nov 8, 2017

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