forked from kfaustino/binged
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise a Binged::Search::Error in the bad auth case, rather than JSON:…
…:ParserError.
- Loading branch information
Showing
4 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 401 The authorization type you provided is not supported. Only Basic and OAuth are supported | ||
Server: Microsoft-IIS/7.5 | ||
X-Content-Type-Options: nosniff | ||
Access-Control-Allow-Origin: * | ||
Access-Control-Allow-Credentials: false | ||
Access-Control-Allow-Headers: Authorization | ||
Access-Control-Allow-Methods: GET, POST, OPTIONS | ||
Access-Control-Max-Age: 604800 | ||
WWW-Authenticate: Basic Realm="" | ||
X-Powered-By: ASP.NET | ||
Date: Tue, 06 Nov 2012 09:00:44 GMT | ||
Content-Length: 91 | ||
|
||
The authorization type you provided is not supported. Only Basic and OAuth are supported |