<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fastcgi-conduit, branch master</title>
<subtitle>Conduit interface for the fastcgi crate</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/'/>
<entry>
<title>Increase version v0.2.0 -&gt; v0.2.1</title>
<updated>2020-07-18T17:21:37+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-18T17:16:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=d12d186783f754e43f9bb0aa3125313014d1e523'/>
<id>d12d186783f754e43f9bb0aa3125313014d1e523</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FastCgiRequest::path: Get path from `REQUEST_URI`</title>
<updated>2020-07-18T17:07:22+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-18T17:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=287c8514ee2efe80a5fce3ddbd15d886b459116c'/>
<id>287c8514ee2efe80a5fce3ddbd15d886b459116c</id>
<content type='text'>
Use the `REQUEST_URI` param instead of `SCRIPT_NAME` to get the request
path.

Using `SCRIPT_NAME` caused issues with redirects.

If my FastCGI program has the file name `script.fcgi`, and I set up a
redirect from `/script` to `/script.fcgi`, then `path()` should return
`/script` when using that path.

In the above case, because we were using the `SCRIPT_NAME` param,
`path()` would return `/script.fcgi` instead.

This caused routes defined with a `RouteBuilder` to not match correctly.

Now that we're using `REQUEST_URI`, we need to trim the query string and
hash, which are included in the param value, since we only want the URI
path.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the `REQUEST_URI` param instead of `SCRIPT_NAME` to get the request
path.

Using `SCRIPT_NAME` caused issues with redirects.

If my FastCGI program has the file name `script.fcgi`, and I set up a
redirect from `/script` to `/script.fcgi`, then `path()` should return
`/script` when using that path.

In the above case, because we were using the `SCRIPT_NAME` param,
`path()` would return `/script.fcgi` instead.

This caused routes defined with a `RouteBuilder` to not match correctly.

Now that we're using `REQUEST_URI`, we need to trim the query string and
hash, which are included in the param value, since we only want the URI
path.
</pre>
</div>
</content>
</entry>
<entry>
<title>server.rs: Remove canonical status name from "Status" header</title>
<updated>2020-07-18T17:03:39+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-18T17:03:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=e3f4e806cad703def89c7a96c06bda8dfd94990a'/>
<id>e3f4e806cad703def89c7a96c06bda8dfd94990a</id>
<content type='text'>
This seemed to cause the name to be doubled in the final Apache HTTP
header.

Since it could cause that issue and is not necessary, we can remove it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This seemed to cause the name to be doubled in the final Apache HTTP
header.

Since it could cause that issue and is not necessary, we can remove it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase version v0.1.1 -&gt; v0.2.0</title>
<updated>2020-07-16T22:34:22+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-16T22:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=a0fdc3ddaee2458212c27c44bd8c10deeb875d99'/>
<id>a0fdc3ddaee2458212c27c44bd8c10deeb875d99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FastCgiRequest: Implement `conduit::RequestExt::path_mut`</title>
<updated>2020-07-16T22:22:26+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-16T22:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=eda49deb67195b0348b013222bb077ac7d381e31'/>
<id>eda49deb67195b0348b013222bb077ac7d381e31</id>
<content type='text'>
The latest version of Conduit, 0.9.0-alpha.3, adds a new `path_mut`
method.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The latest version of Conduit, 0.9.0-alpha.3, adds a new `path_mut`
method.
</pre>
</div>
</content>
</entry>
<entry>
<title>Increase version v0.1.0 -&gt; v0.1.1</title>
<updated>2020-07-16T21:36:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-16T21:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=cb431ca122262e6ef4e3fea11d0efb094ab3a8a2'/>
<id>cb431ca122262e6ef4e3fea11d0efb094ab3a8a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>server.rs: Fix HTTP status code header</title>
<updated>2020-07-15T22:27:10+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-15T22:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=aabde54acf646eaa5d0c4500115ff1805b027d1a'/>
<id>aabde54acf646eaa5d0c4500115ff1805b027d1a</id>
<content type='text'>
I was getting persistent 500 errors on Apache with mod_fastcgi:

    FastCGI: comm with server "/Applications/MAMP/htdocs/test.fcgi"
    aborted: error parsing headers: malformed header 'HTTP/1.1 200 OK'

Forgot that you need to use a "Status" header for FastCGI to set the
HTTP status code, like:

    Status: 404

This isn't an HTTP server. Apparently knew this at one point for the
DomeKey web site, but completely forgot.

Thanks to Ole (https://stackoverflow.com/users/312098/ole) and
RichieHindle (https://stackoverflow.com/users/21886/richiehindle) on
Stack Overflow for this question and answer that helped me figure it
out:
https://stackoverflow.com/questions/11223166/malformed-header-from-script-bad-header-http-1-1-302-found

Didn't notice this previously as I was using Lighttpd for testing, and
its FastCGI module must be more forgiving.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I was getting persistent 500 errors on Apache with mod_fastcgi:

    FastCGI: comm with server "/Applications/MAMP/htdocs/test.fcgi"
    aborted: error parsing headers: malformed header 'HTTP/1.1 200 OK'

Forgot that you need to use a "Status" header for FastCGI to set the
HTTP status code, like:

    Status: 404

This isn't an HTTP server. Apparently knew this at one point for the
DomeKey web site, but completely forgot.

Thanks to Ole (https://stackoverflow.com/users/312098/ole) and
RichieHindle (https://stackoverflow.com/users/21886/richiehindle) on
Stack Overflow for this question and answer that helped me figure it
out:
https://stackoverflow.com/questions/11223166/malformed-header-from-script-bad-header-http-1-1-302-found

Didn't notice this previously as I was using Lighttpd for testing, and
its FastCGI module must be more forgiving.
</pre>
</div>
</content>
</entry>
<entry>
<title>Cargo.toml: Move `conduit-router` to `dev-dependencies`</title>
<updated>2020-07-04T16:45:36+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T16:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=0ddfedea3f89f20b100061037277671451b34c4a'/>
<id>0ddfedea3f89f20b100061037277671451b34c4a</id>
<content type='text'>
Since we're only using it in an example binary, it shouldn't be a main
library dependency.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we're only using it in an example binary, it shouldn't be a main
library dependency.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add README</title>
<updated>2020-07-04T16:35:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T16:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=889481cc62eac9ec2fde2d78cd804b1a72ee046f'/>
<id>889481cc62eac9ec2fde2d78cd804b1a72ee046f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Script to generate docs to a GitHub pages branch</title>
<updated>2020-07-04T16:18:56+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-07-04T16:18:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fastcgi-conduit/commit/?id=839fcbab5a2d437b562903ba636381d5a8eca5d3'/>
<id>839fcbab5a2d437b562903ba636381d5a8eca5d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
