Skip to content

Commit f4acd89

Browse files
committed
Change reference of defunct OAuth application
The domain of the web application previously referenced by the CORS documentation, Calendar About Nothing, has expired (as seen by the "This Domain Name Has Expired" message on the linked page). This section has been updated to refer to Travis CI, a continuous integration tool that seems very popular among GitHub users.
1 parent fe85890 commit f4acd89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/v3.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,17 +438,17 @@ Here's a sample request sent from a browser hitting
438438
HTTP/1.1 302 Found
439439

440440
Any domain that is registered as an OAuth Application is accepted.
441-
Here's a sample request for a browser hitting [Calendar About Nothing](http://calendaraboutnothing.com/):
441+
Here's a sample request for a browser hitting [Travis CI](http://travis-ci.org/):
442442

443-
$ curl -i https://api.github.com -H "Origin: http://calendaraboutnothing.com"
443+
$ curl -i https://api.github.com -H "Origin: http://travis-ci.org"
444444
HTTP/1.1 302 Found
445445
Access-Control-Allow-Origin: *
446446
Access-Control-Expose-Headers: ETag, Link, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes
447447
Access-Control-Allow-Credentials: true
448448

449449
This is what the CORS preflight request looks like:
450450

451-
$ curl -i https://api.github.com -H "Origin: http://calendaraboutnothing.com" -X OPTIONS
451+
$ curl -i https://api.github.com -H "Origin: http://travis-ci.org" -X OPTIONS
452452
HTTP/1.1 204 No Content
453453
Access-Control-Allow-Origin: *
454454
Access-Control-Allow-Headers: Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since, X-Requested-With

0 commit comments

Comments
 (0)