Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/hget-setoffset-postbody/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Change usage string so that it matches the hget(1) manual page.

Move the printing of u->postbody after the printing of cookies, since
cookies must appear in the header.

Add indentation to hhcrange().

Change setoffset() so that it sets out->written, and seeks to the
appropriate file offset if the -o option is used.  Without this, the
assert(d >= 0) in output() fails and the output becomes garbage if the
file was already partially downloaded.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].