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

responce code is 405 will send twice request #12260

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

responce code is 405 will send twice request #12260

quanjunjie531 opened this issue Nov 8, 2017 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@quanjunjie531
Copy link

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
Copy link
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 as completed Nov 8, 2017
@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants