Re: Fresh Blood: Contribute to httpfs

2024-05-17 Thread आयुष झा
Thanks! I will take this as a green light to start hacking on httpfs . आयुष झा Sent with Proton Mail secure email. On Friday, May 17th, 2024 at 10:07 PM, jbra...@dismail.de wrote: > May 16, 2024 at 8:20 AM, "आयुष झा" ayush...@proton.me wrote: > > > > >

Re: Fresh Blood: Contribute to httpfs

2024-05-17 Thread jbranso
us.sceen.net/~hurd-web/contributing/): > > > Strengthen httpfs: it should append '/' to URL automatically, it should not > > fallback index.html itself, etc. probably a lot more small easy issues. > > Has any work been done on this? Any guidelines on where/how to get started >

Fresh Blood: Contribute to httpfs

2024-05-16 Thread आयुष झा
Hello all. I have been following GNU Hurd for around six years now. I have decided to make my first contribution by starting with this issue (from "Small Hack Entries" on https://darnassus.sceen.net/~hurd-web/contributing/): > Strengthen httpfs: it should append '/' t

Re: [PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Samuel Thibault
Amos Jeffries, le jeu. 10 sept. 2020 06:55:50 +1200, a ecrit: > > I'm thinking that this should all be using \r\n instead of \n? > > In this case it means two line terminators. So "\n\n" or "\r\n\r\n". That's what I mean: try to replace all \n with \r\n. Possibly the parsing would need to be fixe

Re: [PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Amos Jeffries
On 10/09/20 5:16 am, Samuel Thibault wrote: > Amos Jeffries, le jeu. 10 sept. 2020 04:16:54 +1200, a ecrit: >> The HEAD request used to fetch metadata about a file via HTTP >> contains a trailing 0x20 character which will cause modern HTTP/1.1 >> servers to reject the request. > > Commited, thanks

Re: [PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Samuel Thibault
be using \r\n instead of \n? > === > RCS file: /sources/hurdextras/httpfs/http.c,v > retrieving revision 1.3 > diff --unified -r1.3 http.c > --- http.c25 Jan 2013 00:50:58 - 1.3 > +++ http.c9 Sep

[PATCH] httpfs: fix HEAD request message

2020-09-09 Thread Amos Jeffries
The HEAD request used to fetch metadata about a file via HTTP contains a trailing 0x20 character which will cause modern HTTP/1.1 servers to reject the request. === RCS file: /sources/hurdextras/httpfs/http.c,v retrieving revision

httpfs and hostmux

2013-01-27 Thread Samuel Thibault
Hello, I have uploaded httpfs to debian-ports. I had an issue with it, which was actually coming from hostmux. The latter indeed canonicalizes the hostname by default before starting the translator. This is however probably not a good thing to do by default nowadays, with the tendency to have

Re: Fwd: [httpfs][PATCH] Fix compilation and bugs.

2013-01-24 Thread Samuel Thibault
Hello, Cyril Roelandt, le Sun 30 Sep 2012 23:23:10 +0200, a écrit : > I wanted to try httpfs, but the code from the CVS repository failed to > compile on my Debian GNU/Hurd box. So, here are a few patches. Thanks! It seems to be working, indeed. An unfortunate thing is that it does not s

Re: Fwd: [httpfs][PATCH] Fix compilation and bugs.

2013-01-14 Thread Samuel Thibault
Cyril Roelandt, le Sun 30 Sep 2012 23:23:10 +0200, a écrit : > - The first patch fixes the compilation of httpfs. This is a mix of an > old patch > (https://savannah.nongnu.org/patch/?func=detailitem&item_id=4839) and of > some really simple fixes. Applied, will continue with the

Fwd: [httpfs][PATCH] Fix compilation and bugs.

2012-09-30 Thread Cyril Roelandt
Forwarding this to this list, since hurdextras-hackers seems a bit deserted. Original Message Subject: [httpfs][PATCH] Fix compilation and bugs. Date: Sat, 14 Jul 2012 03:41:35 +0200 From: Cyril Roelandt To: hurdextras-hack...@nongnu.org Hi ! I wanted to try httpfs, but the

httpfs --

2002-04-04 Thread arun v
hai, Earlier i had submitted one httpfs but i didn't know that i should not use Makeconf. So i have modified to include Makefile.in and Configure scripts... hope this will be ok. Can any one review it? Thanks, Arun. __ Do You Yahoo!? Yahoo

httpfs translator

2002-03-20 Thread arun v
hai, I have tried to develop the httpfs translator for hurd... Attaching herewith the code for the same. I am beginner to Hurd donno to what extent it rises to the expectation of Hurd Geeks. It has a dependency on libxml2 library. the libxml2 library is used for parsing the HTML stream to get

Re: Linux style /proc filesystem translator && httpfs

2002-03-20 Thread James Morrison
documentation on what it is, what it does, etc. > Let me know if you can't get to it because I've had problems > from time to time with the network. > > The beauty (and danter) of the Hurd is that it's an entirely > independent package and doesn't need to be compil

/hurd/httpfs bugs

2002-01-14 Thread arun v
hai, I'm a beginner to Hurd pgmming and I'm trying to develop httpfs. As a first step i tried to implement a trivial single file translator for http GET command. It uses the trivfs library. It works like this: hurd~# settrans -a test.html /hurd/httpfs www.gnu.org/ hurd~# lynx test

/hurd/httpfs

2002-01-14 Thread arun v
hai, I'm a beginner to Hurd pgmming and I'm trying to develop httpfs. As a first step i tried to implement a trivial single file translator for http GET command. It uses the trivfs library. It works like this: hurd~# settrans -a test.html /hurd/httpfs www.gnu.org/ hurd~# lynx test

Re: httpfs, tarfs --help

2002-01-01 Thread Niels Möller
Adam Olsen <[EMAIL PROTECTED]> writes: > On Sun, Dec 23, 2001 at 09:48:06AM +1100, Michael Lucas-Smith wrote: > > I personally think having translators start automatically for a MIME like > > system would be extremely impressive. As I said the last time mimish things were discussed, I think th

Re: httpfs, tarfs --help

2001-12-22 Thread Adam Olsen
On Sun, Dec 23, 2001 at 09:48:06AM +1100, Michael Lucas-Smith wrote: > > > > > >>2) Use some special `extensions translator' which automatically sets > >>translators for files with known extensions. > > > > >Yeah, this might be possible. For a start, you could work on a filemux. > >Then you nee

Re: httpfs, tarfs --help

2001-12-22 Thread Michael Lucas-Smith
> > >> 2) Use some special `extensions translator' which automatically sets >> translators for files with known extensions. > > Yeah, this might be possible. For a start, you could work on a filemux. > Then you need to couple the translator to start by filemux to the file type. I personally th

Re: httpfs, tarfs --help

2001-12-21 Thread Marcus Brinkmann
On Fri, Dec 21, 2001 at 03:16:34PM +0100, Jeroen Dekkers wrote: > On Fri, Dec 21, 2001 at 01:39:39PM +0100, Marcus Brinkmann wrote: > > However, if you don't pass an argument to tarfs, it can assume that the tar > > file is what we call the underlying file of the translator. > > > > If you have a

Re: httpfs, tarfs --help

2001-12-21 Thread Moritz Schulte
Jeroen Dekkers <[EMAIL PROTECTED]> writes: > Running gzippped and bzip2'd binaries is already supported in exec > IIRC. Well, that support - at least for gzipped binaries - is broken. moritz -- [EMAIL PROTECTED] - http://duesseldorf.ccc.de/~moritz/ GPG fingerprint = 3A14 3923 1

Re: httpfs, tarfs --help

2001-12-21 Thread Jeroen Dekkers
On Fri, Dec 21, 2001 at 06:43:32PM +, Adam Olsen wrote: > On Fri, Dec 21, 2001 at 07:24:46PM +0100, Jeroen Dekkers wrote: > > You are right. But it is still possible in the tarfs case. If you want > > to manipulate the file, you edit foo.tar. If you want the directory > > tree, it's foo.tar/.

Re: httpfs, tarfs --help

2001-12-21 Thread Jeroen Dekkers
On Fri, Dec 21, 2001 at 10:22:41AM -0800, James Morrison wrote: > --- Adam Olsen <[EMAIL PROTECTED]> wrote: > > There's two ways for an app to support gzipped files: > > a) within the app itself, by recognising files with a .gz extension > > This is bad, extensions should not be trusted.

Re: httpfs, tarfs --help

2001-12-21 Thread Adam Olsen
On Fri, Dec 21, 2001 at 07:24:46PM +0100, Jeroen Dekkers wrote: > On Fri, Dec 21, 2001 at 06:08:25PM +, Adam Olsen wrote: > > On Fri, Dec 21, 2001 at 05:02:52PM +0100, Jeroen Dekkers wrote: > > > On Fri, Dec 21, 2001 at 03:34:02PM +, Adam Olsen wrote: > > > > 3) as 2, but triggered when yo

Re: httpfs, tarfs --help

2001-12-21 Thread Adam Olsen
On Fri, Dec 21, 2001 at 10:22:41AM -0800, James Morrison wrote: > --- Adam Olsen <[EMAIL PROTECTED]> wrote: > > There's two ways for an app to support gzipped files: > > a) within the app itself, by recognising files with a .gz extension > > This is bad, extensions should not be trusted.

Re: httpfs, tarfs --help

2001-12-21 Thread Jeroen Dekkers
On Fri, Dec 21, 2001 at 06:08:25PM +, Adam Olsen wrote: > On Fri, Dec 21, 2001 at 05:02:52PM +0100, Jeroen Dekkers wrote: > > On Fri, Dec 21, 2001 at 03:34:02PM +, Adam Olsen wrote: > > > 3) as 2, but triggered when you you have a "foo.tar.gz" file and try > > > to open "foo". Probably us

Re: httpfs, tarfs --help

2001-12-21 Thread James Morrison
--- Adam Olsen <[EMAIL PROTECTED]> wrote: > There's two ways for an app to support gzipped files: > a) within the app itself, by recognising files with a .gz extension This is bad, extensions should not be trusted. Magic can be used to determine if a file is compressed, and if so what li

Re: httpfs, tarfs --help

2001-12-21 Thread Adam Olsen
On Fri, Dec 21, 2001 at 05:02:52PM +0100, Jeroen Dekkers wrote: > On Fri, Dec 21, 2001 at 03:34:02PM +, Adam Olsen wrote: > > On Fri, Dec 21, 2001 at 03:16:34PM +0100, Jeroen Dekkers wrote: > > > On Fri, Dec 21, 2001 at 01:39:39PM +0100, Marcus Brinkmann wrote: > > > > However, if you don't pa

Re: httpfs, tarfs --help

2001-12-21 Thread Jeroen Dekkers
On Fri, Dec 21, 2001 at 03:34:02PM +, Adam Olsen wrote: > On Fri, Dec 21, 2001 at 03:16:34PM +0100, Jeroen Dekkers wrote: > > On Fri, Dec 21, 2001 at 01:39:39PM +0100, Marcus Brinkmann wrote: > > > However, if you don't pass an argument to tarfs, it can assume that the tar > > > file is what w

Re: httpfs, tarfs --help

2001-12-21 Thread Adam Olsen
On Fri, Dec 21, 2001 at 03:16:34PM +0100, Jeroen Dekkers wrote: > On Fri, Dec 21, 2001 at 01:39:39PM +0100, Marcus Brinkmann wrote: > > However, if you don't pass an argument to tarfs, it can assume that the tar > > file is what we call the underlying file of the translator. > > > > If you have a

Re: httpfs, tarfs --help

2001-12-21 Thread Jeroen Dekkers
On Fri, Dec 21, 2001 at 01:39:39PM +0100, Marcus Brinkmann wrote: > However, if you don't pass an argument to tarfs, it can assume that the tar > file is what we call the underlying file of the translator. > > If you have a file /tmp/foo, you can put a translator on /tmp/foo while > keeping the o