Getting 416 Fehler beim Versuch, eine Website mit HTTParty zu erhalten. Funktioniert im Browser gut.Behebung 416 Fehler: HTTParty
Ich habe diesen Fehler nie bekommen, also ging ich online und fand diese:
It occurs when the server is unable to fulfill the request. This may be, for example, because the client asked for the 800th-900th bytes of a document, but the document is only 200 bytes long.
The request includes a Range request-header field, and not any of the range-specifier values in this field overlaps the current extent of the selected resource, and also the request does not include an If-Range request-header field.
gefragt, ob jemand mit HTTParty hat 416 bekommen vor und wenn es eine Möglichkeit, diese Form zu verhindern geschieht.
DankBeispiel Website, wo Fehler auftritt: http://www.bizjournals.com/jacksonville/blog/morning-edition/2014/07/teens-make-up-less-of-summer-workforce-than-ever.html
Jeder Einblick, wie ich Header mit httparty ändern kann? –
Dieser Beitrag zeigt, wie Header übergeben werden http://StackOverflow.com/Questions/24691483/Passing-Headers-and-Query-Params-in-HTTParty – kcdragon