Commit Graph

122 Commits

Author SHA1 Message Date
Nathan Osman
17e8b4e8aa Merge pull request #10 from Kuraisu/range-support 2016-10-10 13:21:14 -07:00
Aleksey Yermakov
7e7ec8c7af Add partial content support to QFilesystemHandler. 2016-10-10 18:00:17 +03:00
Aleksey Yermakov
f7290e0cb9 Added QHttpRange class and tests.
This class will be used for support of partial content requests.
2016-10-09 22:43:29 +03:00
Nathan Osman
a700e854b8 Fix compilation issues on MSVC2013. 2016-10-08 16:08:00 -07:00
Nathan Osman
f73a7659f1 Add tests for new-style connection syntax. 2016-10-08 12:28:57 -07:00
Nathan Osman
bf4ca27cc7 Update tests for QObjecHandler. 2016-10-08 01:47:30 -07:00
Nathan Osman
b901757731 Completely rewrite QObjectHandler to be more flexible. 2016-10-07 23:02:16 -07:00
Nathan Osman
d20c1d33a9 Fix incorrect parameter for QHttpParser test. 2016-10-06 22:58:13 -07:00
Nathan Osman
7c460edb57 Completely reorganize the library, moving up to Qt 5.4, using C++11 where reasonably possible, and reorganizing the includes. 2016-10-06 21:50:45 -07:00
Nathan Osman
c6cb5d274b Switch to using QMultiMap for headers and added new typedef for query string. 2016-10-05 00:34:14 -07:00
Nathan Osman
b39b18be6c Add ability to modify status code. 2016-10-04 19:51:48 -07:00
Nathan Osman
7edb26c433 Add ability to specify method for slot handlers. 2016-10-04 16:48:57 -07:00
Nathan Osman
9bcb80bf1b Switched to copy_if_different flag. 2015-07-18 23:57:30 -07:00
Nathan Osman
9d213f8f58 Fixed typo. 2015-07-18 23:45:52 -07:00
Nathan Osman
3bd3752530 Attempted to fix issue with running tests on Windows. 2015-07-18 23:36:25 -07:00
Nathan Osman
3f51d915ad Ensured that unit tests run in the directory containing the QHttpEngine library. 2015-07-18 17:14:22 -07:00
Nathan Osman
150f6b257f Minor adjustments to a couple of tests. 2015-07-18 16:43:37 -07:00
Nathan Osman
9195376c37 Converted project name to uppercase. 2015-07-17 13:27:09 -07:00
Nathan Osman
a60cfc8ab4 Moved all of the header files to a separate directory. 2015-07-17 12:42:25 -07:00
Nathan Osman
b616f20f83 Added basic test for QLocalFile. 2015-07-14 22:50:59 -07:00
Nathan Osman
ae88219c3f Added QHttpHandler::addRedirect() method and appropriate unit tests. 2015-07-14 10:00:19 -07:00
Nathan Osman
ae2f14c9eb Added test for file data to QFilesystemHandler tests. 2015-07-09 18:23:48 -07:00
Nathan Osman
1eefc63ca4 Added the stop() slot to QIODeviceCopier. 2015-07-09 14:58:24 -07:00
Nathan Osman
2205fb4166 Merged the QHttpHandler abstract base class with the QSubHandler class. 2015-07-08 19:31:00 -07:00
Nathan Osman
71bc6fc73e Minor improvements to QFilesystemHandler. 2015-07-08 17:42:41 -07:00
Nathan Osman
b841ae16de Fixed memory leak in test suite. 2015-07-08 17:31:04 -07:00
Nathan Osman
ad8989bf07 Improved error handling in QObjectHandler. 2015-07-08 17:27:05 -07:00
Nathan Osman
cb5216ed71 Switched to using constants for status codes in tests. 2015-07-08 17:02:21 -07:00
Nathan Osman
89021152f1 Fixed order of operations in QObjectHandler tests that caused a problem on Windows. 2015-07-08 16:57:07 -07:00
Nathan Osman
afc2291bcc Fixed errors when running the QSubHandler tests on Windows. 2015-07-08 15:55:32 -07:00
Nathan Osman
bd9df9e1b3 Various minor fixes. 2015-07-04 22:06:38 -07:00
Nathan Osman
2593263b01 Minor updates to the QHttpSocket tests. 2015-07-04 20:27:35 -07:00
Nathan Osman
5deb8264c0 Added test for QHttpSocket::contentLength(). 2015-07-04 20:17:03 -07:00
Nathan Osman
48c81ade3b Updated QHttpServer tests. 2015-07-03 17:42:35 -07:00
Nathan Osman
36e2614d48 Updated QHttpServer class. 2015-07-03 17:18:21 -07:00
Nathan Osman
6a77b01f27 Removed bool return value from QHttpHandler::process(). 2015-07-03 16:06:02 -07:00
Nathan Osman
7ee24f5ac4 QHttpServer now directly derives from QTcpServer, removing the need for method duplication. 2015-07-02 19:45:18 -07:00
Nathan Osman
24680c0d18 Added redirect test for QHttpSocket. 2015-07-02 12:31:50 -07:00
Nathan Osman
280d6dd049 Added predefined status code constants. 2015-07-02 11:36:40 -07:00
Nathan Osman
ad9942ec46 Updated header comment. 2015-07-02 00:28:38 -07:00
Nathan Osman
61d4a14b33 Renamed QHttpSubHandler to QSubHandler. 2015-07-01 21:41:23 -07:00
Nathan Osman
5595ae1156 Completely reorganized the source code layout. 2015-07-01 21:32:26 -07:00
Nathan Osman
b73f7fcd5a Another attempt to fix the issue with the test suite on Windows. 2015-07-01 15:21:00 -07:00
Nathan Osman
35c3ed9add Fixed error in test suite when run on Windows. 2015-07-01 15:16:33 -07:00
Nathan Osman
3ce83a8092 Completed initial implementation of QHttpServer. 2015-07-01 14:55:48 -07:00
Nathan Osman
4d9863aab8 Finished initial (rough) implementation of QObjectHandler and simple tests. 2015-06-29 23:43:19 -07:00
Nathan Osman
9ae14199a7 Removed QIODeviceCounter class. 2015-06-26 23:13:38 -07:00
Nathan Osman
68a02aa842 Fixed MSVC++ compiler error. 2015-06-24 22:53:54 -07:00
Nathan Osman
0a5973cae2 Added basic tests for QObjectHandler. 2015-06-24 22:36:44 -07:00
Nathan Osman
1229676e19 Updated tests for QFilesystemHandler. 2015-06-23 20:17:23 -07:00