1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00

Changelog; CS fixes

This commit is contained in:
J. King 2017-09-30 12:05:57 -04:00
parent 3482a35e54
commit 474f7fc2f6
7 changed files with 21 additions and 7 deletions

12
CHANGELOG Normal file
View file

@ -0,0 +1,12 @@
Version 0.1.1 (2017-09-30)
==========================
Bug fixes:
- Perform feed discovery like NextCloud News does
- Respond correctly to HEAD requests
- Various minor fixes
Version 0.1.0 (2017-08-29)
==========================
Initial release

View file

@ -11,6 +11,7 @@
<include name="composer.*"/> <include name="composer.*"/>
<include name="arsse.php"/> <include name="arsse.php"/>
<include name="bootstrap.php"/> <include name="bootstrap.php"/>
<include name="CHANGELOG"/>
<include name="LICENSE"/> <include name="LICENSE"/>
<include name="README.md"/> <include name="README.md"/>
</fileset> </fileset>

View file

@ -10,3 +10,4 @@ fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param REQUEST_URI $request_uri; fastcgi_param REQUEST_URI $request_uri;
fastcgi_param HTTPS $https if_not_empty; fastcgi_param HTTPS $https if_not_empty;
fastcgi_param REMOTE_USER $remote_user;

View file

@ -40,9 +40,9 @@ class REST {
$class = $this->apis[$api]['class']; $class = $this->apis[$api]['class'];
$drv = new $class(); $drv = new $class();
if ($req->head) { if ($req->head) {
$res = $drv->dispatch($req); $res = $drv->dispatch($req);
$res->head = true; $res->head = true;
return $res; return $res;
} else { } else {
return $drv->dispatch($req); return $drv->dispatch($req);
} }

View file

@ -27,7 +27,7 @@ class Request {
$this->url = $url; $this->url = $url;
$this->body = $body; $this->body = $body;
$this->type = $contentType; $this->type = $contentType;
if($this->method=="HEAD") { if ($this->method=="HEAD") {
$this->head = true; $this->head = true;
$this->method = "GET"; $this->method = "GET";
} }