Josh Larson
952481eaee
Added gradle build support
2018-01-21 12:56:40 -06: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
a2205bf193
fixed WEBSERVER, 49 errors to go.
2016-08-25 07:29:09 +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
Philipp Wiesemann
2260799a62
Fix webserver directory listing being wrong HTML
...
The HTML created for the directory listing was not well-formed.
2016-06-11 23:00:07 +02: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
381e4919ce
minor code refactorings and adapted tests for the multiple merged pull
...
requests
2016-01-29 07:09:58 +01:00
Richard van Nieuwenhoven
ca1cf4bcad
Merge pull request #271 from DevFactory/release/unit-tests
...
This is really really great, many thanks!
2016-01-29 06:27:15 +01:00
Mitali Jha
add9a1eee0
Adding unit tests
2016-01-02 23:22:49 +05:30
ritchie
c99717f5ce
extend the try catch to cover also not found resources #265
2015-12-18 07:46:54 +01:00
ritchie
1f4cf5b276
code formatings
2015-11-20 07:26:22 +01:00
Richard van Nieuwenhoven
3432058a20
Merge pull request #255 from DevFactory/release/string-literal-fix-1
...
Code Quality fix - Strings literals should be placed on the left side when checking for equality
big thanks we need much more of this quality stuff
2015-11-17 07:54:04 +01:00
ritchie
1db1b6776b
[maven-release-plugin] prepare for next development iteration
2015-11-15 06:48:14 +01:00
ritchie
a90fe20374
[maven-release-plugin] prepare release nanohttpd-project-2.2.0
2015-11-15 06:48:09 +01:00
ritchie
9cc376ce0a
added some descriptions to the pom
2015-11-15 06:38:32 +01:00
Christian Ivan
a79be22924
Fix - Strings literals should be placed on the left side when checking for equality
2015-11-13 21:09:03 +07:00
ritchie
1aacdb25b3
adapt minimal test coverage after implementing #204
2015-10-03 07:35:55 +02:00
ritchie
14d6e72cc1
easy way to add mime types fix #204
2015-10-03 07:31:10 +02:00
Richard van Nieuwenhoven
4a3649d01c
Merge pull request #207 from McFoggy/cors-support
...
fixes #25 add basic CORS support
2015-09-13 08:01:26 +02:00
ritchie
ffabe5fa1b
file upload refactorings and set minimal coverage per module #219 #216
2015-09-13 06:22:54 +02:00
ritchie
6c4d9f5a06
first refactorings for own module nanolets #223
2015-09-11 07:52:45 +02:00
Jarno Elonen
f019744cc7
Fixed SimpleWebServer, bumped version
2015-08-22 21:01:24 +03:00
Jarno Elonen
504cf71fb7
Work towards static newXXResponse()s
2015-08-21 19:13:27 +03:00
Matthieu Brouillard
cbdd9d8193
enhance CORS support to allow to define origin
2015-08-09 12:27:05 +02:00
Matthieu Brouillard
c5c77ab76e
open visibility of SimpleWebServer#addCORSHeaders() method as requested in #207 comments
2015-07-20 08:29:48 +02:00
Matthieu Brouillard
709bd63d3d
fixes #25 add basic CORS support
2015-07-08 14:02:12 +02:00
elonen
5f71655bb6
Merge pull request #200 from snostorm/adds-svg
...
Adds SimpleWebServer MIME of `image/svg+xml`
2015-07-04 23:33:36 +03:00
Sean Ouimet
6243d68e15
Adds SimpleWebServer MIME of image/svg+xml
2015-06-24 18:41:32 +02:00
luctrudeau
ec0932ccc0
Added Mime type for HLS
...
HLS (http://fr.wikipedia.org/wiki/HTTP_Live_Streaming ) can be implemented using SimpleWebServer by hosting m3u8 files and the corresponding mpeg-2 TS fragements. All that is missing are the mime types. The mime type for m3u8 is application/vnd.apple.mpegurl (https://tools.ietf.org/html/draft-pantos-http-live-streaming-04#section-3.1 ) and the mime type for .ts is "video/mp2t" (ref: http://tools.ietf.org/html/rfc3555#page-38 ).
Question: Is it possible to force the m3u8 to be sent as utf-8?
2015-06-09 16:13:03 -04:00
Jarno Elonen
a390515670
Change default binding from localhost to all interfaces. Closes #137
2015-05-24 15:23:01 +03:00
elonen
f5ba92b795
Removed non-generic hard-coded path test
...
The uri.startsWith("src/main") || uri.endsWith("src/main") test is not useful in general cases, but potentially a bug.
2015-05-16 23:51:32 +03:00
Philipp Wiesemann
dd0a8cd787
Fix webserver serving folder named like index file
...
If there was a directory named like an index file (e.g. "index.html"),
other index files registered later (e.g. "index.htm") were ignored and
the directory was served instead (or an index file in the directory).
This was fixed by now checking if the index file is not a directory.
2015-05-16 23:21:42 +03:00
ritchie
b1ab872291
wait a little longer durring testing
2015-05-14 16:58:33 +02:00
ritchie
8bb6bfb4e2
first set of unit tests for the webserver
2015-05-14 16:53:11 +02:00
ritchie
f869fff371
prepaire for webserver unit tests
2015-05-14 10:03:26 +02:00
ritchie
d4146a62f5
fixed #117
2015-05-14 09:47:39 +02:00
ritchie
9e1ec7bff4
some cleanup and mergig for #122 also long as resquest size added
2015-05-14 09:40:10 +02:00
ritchie
5e2e2f19e0
reponces now created by factorymethods that can be overwritten, solves
...
#94
2015-05-14 09:02:50 +02:00
ritchie
9c4e5f6d83
config and jacoco instead of cubertura
2015-05-10 15:04:38 +02:00
ritchie
30fb85f55c
letting eclipse cleanup the code
2015-05-10 13:47:37 +02:00
ritchie
9058464950
after the last pull request in this series the formatter is now active
2015-05-10 13:41:19 +02:00
ritchie
a59803b641
logging improved and all print stacktraces moved to logging
2015-05-10 13:37:31 +02:00
Jarno Elonen
8197dc1575
Replace spurious accessors and exposed rootDirs as protected. Closes #161 , #162
2015-05-10 00:15:46 +03:00
ritchie
3526d931ae
checkstyle issues and imports reorganized
2015-05-08 16:04:23 +02:00