290 Commits

Author SHA1 Message Date
hyunik.na cd37235110 removed remoteHostName from HTTPSession: it can take too long time to figure out via DNS 2019-07-02 23:40:13 +09:00
root 0e74d0329f Proper exception handling 2018-11-22 07:29:04 -05:00
Arjun Menon 6af572b667 Support more HTTP verbs 2018-01-31 18:46:23 +05:30
Josh Larson 952481eaee Added gradle build support 2018-01-21 12:56:40 -06:00
Timothy Whitbeck ab2d6426a8 Fix minor typos in ServerRunner.java 2017-01-20 10:27:25 -05:00
LordFokas e175fd08e0 Merge pull request #410 from LordFokas/development
Fix my bugs. Also fix your bugs. Come here and love me!
2017-01-04 13:23:11 +00:00
LordFokas 9cd340f188 Should fix #395 2017-01-04 12:39:46 +00:00
LordFokas 1de83fe8f6 Fix GZip usage control being very poorly written. 2017-01-04 12:32:56 +00:00
LordFokas 63815b9a19 Merge pull request #405 from LordFokas/development
Enhance the way GZip is handled
2016-12-25 00:09:03 +00:00
LordFokas d2af06753b Merge pull request #384 from LordFokas/development
3rd Phase of v3.0.0 - Pluginization
2016-12-13 13:35:44 +00:00
Kirill Rakhman f75268b927 Add missing quote 2016-12-13 10:49:08 +01:00
LordFokas fe4feb600c Change the way Gzip is handled. This enables interceptors to painlessly define new Gzip settings for their own responses. 2016-12-12 23:39:57 +00:00
Kirill Rakhman 35ba70383f Use constant for magic string "postData" 2016-12-09 13:36:23 +01:00
Eren Yilmaz 6a807057f9 Added exception handling to the sendBody method. If the outputStream is closed by the client, all the loop gets broken pipe exception. Just closing the input stream if exception is caught. 2016-11-11 19:43:52 +03:00
LordFokas 060d6d2292 Child protocol interceptors. Also fuck Mockito! 2016-09-29 03:25:23 +01:00
LordFokas f57064fc37 HTTP handling is now delegated to an IHandler 2016-09-29 01:24:35 +01:00
LordFokas 1f31f551dd Remove deprecated NanoHTTPD.serve(uri, method, headers, parms, files) 2016-09-29 00:47:36 +01:00
LordFokas c4474df6a4 Started work on the pluggable request-answering strategy. (reverted from commit 0f6271c9be) 2016-09-26 01:56:45 +01:00
LordFokas 0f6271c9be Started work on the pluggable request-answering strategy. 2016-09-12 05:43:16 +01:00
LordFokas 068a9bc6cd Fix broken cookie tests. 2016-09-12 01:20:36 +01:00
LordFokas cf18465e4e I'm getting seriously pissed at you, Travis. 2016-09-12 01:07:51 +01:00
LordFokas ed515e3c37 Whoopsie :p 2016-09-12 00:56:57 +01:00
LordFokas 67513a302b ... then fix it. 2016-09-12 00:51:10 +01:00
LordFokas bdf45500cb First create a test that fails... 2016-09-12 00:41:50 +01:00
LordFokas cac70b7c5c Closes #332 2016-09-10 00:06:01 +01:00
LordFokas 22fe0abc4a Closes #316 2016-09-09 22:45:38 +01:00
ritchie f5c2ec1f00 get v3.0 build test clean #357 2016-09-09 15:53:02 +02:00
LordFokas 1b9e7e056f Moved everything to a org.nanohttpd.* base package, for consistency :) 2016-08-25 08:13:07 +01:00
LordFokas f4d5a58330 Broke WEBSOCKETS module into pieces too. 2016-08-25 08:00:58 +01:00
LordFokas 5961be47b1 whoops 2016-08-25 07:47:47 +01:00
LordFokas 4e47a5fa23 Broke CORE into pieces. Updated CORE tests. Introduced 150 errors in all other modules. 2016-08-25 07:13:07 +01:00
ritchie da134bd96f [maven-release-plugin] prepare for next development iteration 2016-08-12 20:14:12 +02:00
ritchie 16ed41b22c [maven-release-plugin] prepare release nanohttpd-project-2.3.1 2016-08-12 20:14:02 +02:00
ritchie ac0522b888 lowerd coverage requirement and some file formattings 2016-08-12 19:50:19 +02:00
Prasanna S d2c6a64e13 If ContentType header has 'json' in it, then the response will be GZIPPED 2016-08-10 12:48:12 +05:30
Dan Watling 1627958cb8 Closes #329, #286
IHTTPSesssion.parms is now a map to a list of values for a given key. The old getParms() interface still exists, but moving forward one should use getParameters()
2016-06-24 11:06:51 -05:00
Philipp Wiesemann 467524f458 Fix opening mimetypes twice and only closing first
Found by FindBugs.
2016-06-18 22:20:40 +02:00
Marton Sebok a47eefca7a Enable extension of ClientHandler and ServerRunnable
Comments of createClientHandler and createServerRunnable talk about extending ClientHandler and ServerRunnable, but this also needs accessible constructors.
2016-06-09 16:43:09 +02:00
Lounsbury e1994d7092 Add 302 and 307 redirects. 2016-05-13 10:27:24 -07:00
Lounsbury 785843ee8e Add several missing HTTP Status codes, and add tests to ensure the Status code messages match the name of the enum. 2016-05-10 10:12:21 -07:00
Belk, Thomas W 64f1dd799f Tom - Nanohttpd - trying something different 2016-04-27 11:28:44 -04:00
Belk, Thomas W 6315c249c8 Tom - Nanohttpd - changing the scope of the lookup for status, adding tests 2016-04-27 11:20:52 -04:00
Belk, Thomas W b935d5ecc4 Tom - Nanohttpd - adding lookup for status 2016-04-27 08:35:29 -04:00
ritchie 2c16f09ba0 [maven-release-plugin] prepare for next development iteration 2016-02-22 07:51:26 +01:00
ritchie e7935c5658 [maven-release-plugin] prepare release nanohttpd-project-2.3.0 2016-02-22 07:51:20 +01:00
ritchie 225eaf46df update version for next release 2016-02-22 07:47:27 +01:00
ritchie 3312c97d24 create a context type container and handle responce encodings #261 2016-01-30 07:32:46 +01:00
ritchie 445ba0a938 repaired test fixes #173 2016-01-29 07:31:37 +01:00
ritchie 381e4919ce minor code refactorings and adapted tests for the multiple merged pull
requests
2016-01-29 07:09:58 +01:00
ritchie 8373335090 automatic code formattings 2016-01-29 06:46:57 +01:00