Skip to content

Commit f1fe0c2

Browse files
committed
Merge pull request github#313 from kfr2/patch-1
Change reference of defunct OAuth application
2 parents 671827e + f4acd89 commit f1fe0c2

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)