<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gf-core.git/src/server/RunHTTP.hs, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.adelon.net/gf-core.git/atom?h=master</id>
<link rel='self' href='https://git.adelon.net/gf-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/'/>
<updated>2020-02-13T13:50:23+00:00</updated>
<entry>
<title>support post requests to the server</title>
<updated>2020-02-13T13:50:23+00:00</updated>
<author>
<name>krangelov</name>
<email>kr.angelov@gmail.com</email>
</author>
<published>2020-02-13T13:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=61641e7a597adcc7bb025a2c171a784505cf986b'/>
<id>urn:sha1:61641e7a597adcc7bb025a2c171a784505cf986b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>src/server: refactoring to isolate dependencies on the cgi/fastcgi packages</title>
<updated>2014-09-02T12:27:47+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-09-02T12:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=e0e6079c9141a0c2d7d2a6dda50496e237bfc8bb'/>
<id>urn:sha1:e0e6079c9141a0c2d7d2a6dda50496e237bfc8bb</id>
<content type='text'>
* Introducing the module CGI, re-exporting a subset of the cgi package. It
  might complete replace the cgi package in the future.
* Introducing the module CGIUtils, containing functions from FastCGIUtils that
  have nothing to do with fastcgi.

Some low level hackery with unsafePerformIO and global variables was left
in FastCGIUtils, but it is actually not used, neither for gf -server nor
exec/pgf-fcgi.hs.
</content>
</entry>
<entry>
<title>Fix UTF-8 decoding problem in gf -server</title>
<updated>2013-06-13T08:23:48+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-06-13T08:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=bdfd663e917b0d5ed1a2d987f2f470c682969dd3'/>
<id>urn:sha1:bdfd663e917b0d5ed1a2d987f2f470c682969dd3</id>
<content type='text'>
The package network-2.4.1.1 thoughlessly introduced a backward incompatible
change to the function Network.URI.unEscapeString, see

    https://github.com/haskell/network/commit/f2168b1f8978b4ad9c504e545755f0795ac869ce

This also affects the function Network.Shed.Httpd.queryToArguments, which is
used in GFServer.hs.

To remain compatible with older and newer versions of the network package,
we need to stay clear of queryToArguments and unEscapeString. A replacement
function has been added to server/URLEncoding.hs.

</content>
</entry>
<entry>
<title>More functionality in "gf -server" mode</title>
<updated>2011-10-10T16:16:16+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-10-10T16:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=04d2dc757c34d76711a237b583855e111e4486a7'/>
<id>urn:sha1:04d2dc757c34d76711a237b583855e111e4486a7</id>
<content type='text'>
"gf -server" mode now includes PGF service and the services to support
example-based grammar writing. (But gf -server is not quite ready to replace
pgf-http yet...) 

Also bumped GF version number to 3.2.10-darcs
</content>
</entry>
<entry>
<title>pgf-http: fix a bug that caused "+" to be treaded as " " in PGF service requests URLs.</title>
<updated>2011-08-25T16:58:17+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-08-25T16:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=623c72ca1dd60c7e9a3b92bcfda873e42eb04adc'/>
<id>urn:sha1:623c72ca1dd60c7e9a3b92bcfda873e42eb04adc</id>
<content type='text'>
This was a bug in my workaround for a bug in the httpd-shed package. It
made it impossible to use the glue token "&amp;+" for Turkish input in the minibar,
for example.
</content>
</entry>
<entry>
<title>RunHTTP.hs: remove hardcoded document root</title>
<updated>2010-12-17T16:33:54+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-12-17T16:33:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=7ebdacc8844a0c1bd9fd8d1a98de57f1c7fe2d2a'/>
<id>urn:sha1:7ebdacc8844a0c1bd9fd8d1a98de57f1c7fe2d2a</id>
<content type='text'>
The document root is now part of the arguments passed to runHTTP.
</content>
</entry>
<entry>
<title>pgf-server HTTP mode: support the Accept-Language header</title>
<updated>2010-09-10T11:20:49+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-09-10T11:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=2d75820da410abac51ca04bfa145bb2801a64a48'/>
<id>urn:sha1:2d75820da410abac51ca04bfa145bb2801a64a48</id>
<content type='text'>
It is needed for the userLanguage field in the grammar info from pgf-server
</content>
</entry>
<entry>
<title>pgf-server HTTP mode: workaround for bugs in the httpd-shed package that prevented the fridge and translate web apps from working</title>
<updated>2010-09-03T13:12:08+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-09-03T13:12:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=5b09b82f312044a999d58cf484c59d45e00ad47a'/>
<id>urn:sha1:5b09b82f312044a999d58cf484c59d45e00ad47a</id>
<content type='text'>
queryToArguments "?&amp;input=bla+bla"
           returns [("&amp;input","bla+bla")]
 but should return [("input","bla bla")]

</content>
</entry>
<entry>
<title>Standalone HTTP version of pgf-server</title>
<updated>2010-09-01T14:08:52+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-09-01T14:08:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=ac23280320313b0e470c8de6d49415e93d3c9d97'/>
<id>urn:sha1:ac23280320313b0e470c8de6d49415e93d3c9d97</id>
<content type='text'>
pgf-server can now act as a standalone HTTP server. To activate this mode,
start it with

	pfg-server http

to use the default port number (41296), or give an explicit port number, e.g.,

	pgf-server http 8080

The HTTP server serves PGF files in the same way as the old FastCGI interface.
In addition, it also serves static files. The document root for static files
is the www subdirectory of the current directory where pgf-server is started.

In spite of these addition, backwards compatibility is maintaned. The old
FastCGI interface continues to work as before. (It is activated when
pgf-server is started without arguments.)

</content>
</entry>
</feed>
