<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9front.git/rc/bin/hget, branch sam</title>
<subtitle>my patches for 9front; forked from http://git.9front.org/plan9front/plan9front/HEAD/info.html
</subtitle>
<id>https://git.vlhl.dev/lizzy/sys/plan9front.git/atom?h=sam</id>
<link rel='self' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/atom?h=sam'/>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/'/>
<updated>2018-10-10T00:45:11+00:00</updated>
<entry>
<title>hget: do a HEAD request to check if the file is already complete (thanks miscief)</title>
<updated>2018-10-10T00:45:11+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@felloff.net</email>
</author>
<published>2018-10-10T00:45:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=a13ba7741f35528ea4b8764652101321f089a514'/>
<id>urn:sha1:a13ba7741f35528ea4b8764652101321f089a514</id>
<content type='text'>
when we continue a download, make sure the file isnt already
complete, as otherwise the server might respond with a 416
as the range request will out of range.
</content>
</entry>
<entry>
<title>hget: work arround apache Content-Encoding: gzip for Content-Type: application/x-gzip bug</title>
<updated>2015-05-14T12:12:28+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@felloff.net</email>
</author>
<published>2015-05-14T12:12:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=e611879eab9ad99ea6fa1f51529c4c85e679dad2'/>
<id>urn:sha1:e611879eab9ad99ea6fa1f51529c4c85e679dad2</id>
<content type='text'>
apache sends Content-Encoding: gzip header for Content-Type: application/x-gzip
causing hget to decompress tgz files.

from the w3c:

The Content-Encoding entity-header field is used as a modifier to the media-type.
When presented, its value indicates what additional content codings have been applied
to the entity-body, and thus what decoding mechanisms must be applied in order to
obtail the media-type referenced by the Conent-Type header field. Content-Encoding
is primarily used to allow a document to be compressed without losing the
identity of its underlying media type.

this is clearly silly, as the file is already compressed, and decompressing it
will not yield the indicated Content-type: application/x-gzip, but a tarball.

examples:

http://zlib.net/zlib-1.2.8.tar.gz
https://www.mirbsd.org/MirOS/dist/mir/mksh/mksh-R50f.tgz
</content>
</entry>
<entry>
<title>hget: revert hget -v change, this needs more thought</title>
<updated>2014-03-23T17:47:59+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@felloff.net</email>
</author>
<published>2014-03-23T17:47:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=e11835232448831f8bd4a27c4f8d8a7aa78383b5'/>
<id>urn:sha1:e11835232448831f8bd4a27c4f8d8a7aa78383b5</id>
<content type='text'>
problems that need to be addressed:

- reads in the whole /proc every second for no reason
- breaks when http server doesnt include Content-Length header
- length is wrong for continued download (-o option)
</content>
</entry>
<entry>
<title>hget: add the -v option to produce progress on stderr, like old hget</title>
<updated>2014-03-23T06:28:42+00:00</updated>
<author>
<name>mischief</name>
<email>mischief@offblast.org</email>
</author>
<published>2014-03-23T06:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=a710914b36db4d52ce557dab98b3208c9af95667'/>
<id>urn:sha1:a710914b36db4d52ce557dab98b3208c9af95667</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hget: handle http contentencoding (compression)</title>
<updated>2013-10-12T00:22:57+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@gmx.de</email>
</author>
<published>2013-10-12T00:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=ab7fe19ae264aa569f6298b73492d4b3e733e0b0'/>
<id>urn:sha1:ab7fe19ae264aa569f6298b73492d4b3e733e0b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hpost: add -l flag to get location url after POST</title>
<updated>2012-10-18T12:38:07+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@gmx.de</email>
</author>
<published>2012-10-18T12:38:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=7c3ea4360b64579ce63d85337fdefdbba565f312'/>
<id>urn:sha1:7c3ea4360b64579ce63d85337fdefdbba565f312</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hget: fix usage</title>
<updated>2012-09-28T21:37:51+00:00</updated>
<author>
<name>stanley lieber</name>
<email>stanley.lieber@gmail.com</email>
</author>
<published>2012-09-28T21:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=7bada4bf2a11451b27528117b0a83601c79fd18f'/>
<id>urn:sha1:7bada4bf2a11451b27528117b0a83601c79fd18f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hget -P to read postbody from stdin</title>
<updated>2012-09-15T05:07:19+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@gmx.de</email>
</author>
<published>2012-09-15T05:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=9a02104699897c907670b6b65b4fbe3511e368cb'/>
<id>urn:sha1:9a02104699897c907670b6b65b4fbe3511e368cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hget: fix -p to not put a newline into the postbody at the end</title>
<updated>2012-09-15T04:25:32+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@gmx.de</email>
</author>
<published>2012-09-15T04:25:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=cc459aa7ab048282b71999bc61f4fb515e052d4a'/>
<id>urn:sha1:cc459aa7ab048282b71999bc61f4fb515e052d4a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hget/play: fix enviroment leaks</title>
<updated>2012-05-26T19:18:41+00:00</updated>
<author>
<name>cinap_lenrek</name>
<email>cinap_lenrek@gmx.de</email>
</author>
<published>2012-05-26T19:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vlhl.dev/lizzy/sys/plan9front.git/commit/?id=812e0fd0583f3306a8c170e7f59f7b12f5280e4e'/>
<id>urn:sha1:812e0fd0583f3306a8c170e7f59f7b12f5280e4e</id>
<content type='text'>
</content>
</entry>
</feed>
