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

getTimeOffset(...) returns with HTTP status code 411 error #11

Closed
mxscho opened this issue Jan 3, 2016 · 0 comments
Closed

getTimeOffset(...) returns with HTTP status code 411 error #11

mxscho opened this issue Jan 3, 2016 · 0 comments

Comments

@mxscho
Copy link
Contributor

mxscho commented Jan 3, 2016

The POST request to https://api.steampowered.com/ITwoFactorService/QueryTime/v1/ returns with HTTP status code 411 (Length Required).
By adding...

"headers": {
    "Content-Length": 0
}

to the request's options it works.
I hope it's not my fault and this is indeed an error.
I will make a pull request, but it's up to you to accept it or not.

DoctorMcKay added a commit that referenced this issue Jan 3, 2016
Fix HTTP 411 in time offset request (close #11)
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

1 participant