Commit Graph

5 Commits

Author SHA1 Message Date
Mikael Nordfeldth
69b86c86a4 Use GNU social HTTPClient to GET and HEAD (consistent HTTP config)
The GNU social node has configured HTTPClient (HTTP_Request2 object) with
certain characteristics, which won't be respected when just using the PHP
built-in fetchers. This way we can have the same TLS certificate policy,
timeouts etc.

Also removed one test if get_headers() had returned an array, which it
never will since the "Location" is always a single absolute URL:
   "The field value consists of a single absolute URI."
        - https://tools.ietf.org/html/rfc2616#section-14.30
2015-02-07 16:06:43 +01:00
Hannes Mannerheim
010666c20c removes a php warning 2014-11-25 02:38:46 +01:00
Hannes Mannerheim
c6c5a28959 remove error log spam 2014-11-25 02:34:49 +01:00
Hannes Mannerheim
2d1ed0e038 external user popup bugfixes 2014-11-24 16:10:59 +01:00
Hannes Mannerheim
2950f0a23b v4. design, img upload, avatar, bg img, etc etc 2014-11-24 13:47:45 +01:00