Commit Graph

320 Commits

Author SHA1 Message Date
Nathan Osman
f059e9bc66 Move JSON output functionality to socket. 2016-10-14 14:14:06 -07:00
Nathan Osman
4dd17ad4ea Fix bug with include paths on MSVC. 2016-10-14 11:02:19 -07:00
Nathan Osman
7e7e6945a0 Fix MSVC template error. 2016-10-14 00:36:00 -07:00
Nathan Osman
4cfbec7c6c Rename QHttpSocket::QQueryStringMap and QHttpSocket::QHttpHeaderMap. 2016-10-13 17:34:46 -07:00
Nathan Osman
5968739f03 Add JSON utility functions to QObjectHandler. 2016-10-13 15:33:55 -07:00
Nathan Osman
c1fc8a115d Remove all JSON marshalling code from QObjectHandler. 2016-10-13 00:38:39 -07:00
Nathan Osman
e8b076bdc4 Update documentation. 2016-10-12 12:07:59 -07:00
Nathan Osman
1604bcf279 Fix runtime bug caused by typo. 2016-10-11 22:33:00 -07:00
Nathan Osman
6edf9f4c89 Add HTTP basic authentication. 2016-10-11 21:29:06 -07:00
Nathan Osman
6df88ad4aa Implement middleware. 2016-10-11 20:23:21 -07:00
Nathan Osman
e35fdbde78 Fix comparison issue with QIByteArray and improve performance by inlining all methods. 2016-10-11 13:07:09 -07:00
Nathan Osman
1c1c1e7752 Change default path of example to current directory. 2016-10-10 22:01:14 -07:00
Nathan Osman
642ea69ffc Update README to reflect new requirements for building. 2016-10-10 21:32:21 -07:00
Nathan Osman
8304e03c6d Minor formatting and documentation updates. 2016-10-10 13:49:34 -07:00
Nathan Osman
0708516e28 Fix path to header. 2016-10-10 13:25:26 -07:00
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
7ac8fa1c88 Merge branch 'new-features' 2016-10-08 13:00:00 -07:00
Nathan Osman
7c3a13e89d Bump version. 2016-10-08 12:48:24 -07:00
Nathan Osman
409ba4be75 Update documentation for QObjectHandler. 2016-10-08 12:45:29 -07:00
Nathan Osman
27cc231218 Fix typo causing failing test. 2016-10-08 12:32:17 -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
1bea4efab7 Merge pull request #9 from impegoraro/hotfix-httphandler
Close the socket on default process method
2016-10-07 23:01:10 -07:00
Ilan Pegoraro
00fab6b5e1 Close the socket on default process method
Just like in QObjectHandler after writing to the socket, the socket
should be close.
2016-10-07 17:58:54 +01:00
Nathan Osman
d20c1d33a9 Fix incorrect parameter for QHttpParser test. 2016-10-06 22:58:13 -07:00
Nathan Osman
337d021936 Fix path issue with CMake. 2016-10-06 22:47:51 -07:00
Nathan Osman
9dd1072bc3 Update .travis.yml for Qt 5.7. 2016-10-06 22:21:11 -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
7930ef4a50 Fix inadvertently inverted condition during status line parsing. 2016-10-06 10:58:49 -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
287edf9825 Update documentation. 2016-10-04 17:27:53 -07:00
Nathan Osman
61bfd8c70a Update chat example to use new slot format. 2016-10-04 17:23:40 -07:00
Nathan Osman
feaab366ef Fix SEGFAULT caused by parameter going out of scope. 2016-10-04 17:02:35 -07:00
Nathan Osman
7edb26c433 Add ability to specify method for slot handlers. 2016-10-04 16:48:57 -07:00
Nathan Osman
391dea5ddb Merge commit 'f1ab4f4' into http-methods 2016-10-04 11:27:52 -07:00
Nathan Osman
dafff09b5d Fixed OS definition. 2016-07-11 10:41:17 -07:00
Nathan Osman
7ea1f703db Fixed access control issue on Windows. 2016-06-19 04:39:14 -07:00
Nathan Osman
e83dd36bfd Switched qInfo to qDebug. 2016-06-19 04:24:52 -07:00
Nathan Osman
7cea9352f3 Added CPack information to enable quick TGZ generation. 2016-06-18 16:24:59 -07:00
Nathan Osman
56c37275cd Merge branch 'master' of github.com:nitroshare/qhttpengine 2016-06-13 19:11:34 -07:00
Nathan Osman
27ed1bbe4a Updated CI badge in README. 2016-05-30 10:11:33 -07:00
Nathan Osman
30099e78ea Added language specification and builds for both GCC and Clang. 2016-05-30 10:08:17 -07:00
Nathan Osman
3cf92f2373 Added .travis.yml. 2016-05-30 10:03:03 -07:00
Nathan Osman
7554193a16 Added client portion of auth sample. 2016-05-28 12:17:07 -07:00
Nathan Osman
dd748698a3 Fixed issue with chmod() on Windows. 2016-05-28 07:31:28 -07:00