On Friday, 23 de December de 2011 10.41.43, Jonas M. Gastal wrote: > On Friday 23 December 2011 12:23:14 Alex Kides wrote: > > Is there an equivalent means of processing http requests/responses when > > working with a QTcpServer/QTcpSocket? (The QHttp*Header classes have been > > marked as obsolete but no usable equivalent is in place, that i've seen > > anyway, the QNAM classes don't seem that useful for server type > > applications) > > 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. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development