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

Add HTTPS scheme to Flickr #46

Merged
merged 1 commit into from Apr 26, 2015
Merged

Add HTTPS scheme to Flickr #46

merged 1 commit into from Apr 26, 2015

Conversation

@javan
Copy link
Contributor

@javan javan commented Apr 25, 2015

  • Match https* Flickr URL
  • Use https oembed endpoint that Flickr now enforces
$ curl --verbose http://www.flickr.com/services/oembed?url=http://flickr.com/photos/bees/2362225867/
* Hostname was NOT found in DNS cache
*   Trying 98.138.81.73...
* Connected to www.flickr.com (98.138.81.73) port 80 (#0)
> GET /services/oembed?url=http://flickr.com/photos/bees/2362225867/ HTTP/1.1
> User-Agent: curl/7.37.1
> Host: www.flickr.com
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Date: Sat, 25 Apr 2015 14:17:42 GMT
< Content-Type: text/html; charset=UTF-8
< Content-Length: 0
< P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
< Set-Cookie: xb=652738; expires=Tue, 25-Apr-2017 14:17:42 GMT; path=/; domain=.flickr.com
< Location: https://www.flickr.com/services/oembed?url=http://flickr.com/photos/bees/2362225867/
metavida added a commit to metavida/ruby-oembed that referenced this pull request Apr 26, 2015
@metavida metavida merged commit 6ec3018 into ruby-oembed:master Apr 26, 2015
@javan
Copy link
Contributor Author

@javan javan commented Apr 26, 2015

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.