[Development] QHttp removal

Jonas M. Gastal jgastal at profusion.mobi
Fri Dec 23 14:41:49 CET 2011


On Friday 23 December 2011 11:06:53 Thiago Macieira wrote:
> On Friday, 23 de December de 2011 10.41.43, Jonas M. Gastal wrote:
> > QNAM is not meant to be used in creating a server, it is strictly for
> > clients.
> > 
> > >From what I know there are no classes to help in creating an HTTP
> > >server(other
> > 
> > than QTcpServer). While the QHttp*Header classes can be usefull in
> > creating an HTTP server I would say they are a far cry from making it
> > easy. If we want to add that functionality I think we should wrap it in
> > a much higher level class something like QHttpServer. I'm not convinced
> > that that is a good idea tough.
> 
> QNetworkRequestPrivate has all that is needed to deal with MIME headers.
> We'd just need to expose the functionality to parse a header and to
> recreate one.

I only see in QNetworkRequestPrivate code to create headers, I don't see code 
to parse headers.

Gastal



More information about the Development mailing list