Commit graph

761 commits

Author SHA1 Message Date
Anton Maminov
e3544a86bf Do not early return from HTTP::Server::Response::Output.close. Revert what Ameba broke 2019-06-18 18:03:32 +03:00
sdogruyol
f3d02e60af Add auto-generated .ameba.yml 2019-06-13 15:42:21 +03:00
sdogruyol
fc8ac1160c Add /bin to .gitignore 2019-06-13 15:33:11 +03:00
sdogruyol
ecaa423774 Bump ameba to 0.10.0 2019-06-13 14:38:41 +03:00
Sijawusz Pur Rahnama
06665e81bc Use Ameba on Travis CI (#520) 2019-06-13 14:31:45 +03:00
Serdar Dogruyol
c646aad482
Merge pull request #535 from bcardiff/crystal/0.29.0
Fix Time.now deprecation warning
2019-06-10 08:27:11 +03:00
Brian J. Cardiff
79cd8bd646 Fix Time.now deprecation warning 2019-06-04 16:59:05 -03:00
Serdar Dogruyol
ec87dfb614
Create FUNDING.yml 2019-05-27 13:10:04 +03:00
Serdar Dogruyol
5267555322
Properly measure request time using Time.monotonic 2019-03-20 01:02:42 -07:00
Alexander Reelsen
14ed2aa8bf improvement: use Time.measure 2019-03-20 08:39:36 +01:00
Alexander Reelsen
c6ac5232db Properly measure request time using Time.monotonic 2019-03-19 12:57:28 +01:00
sdogruyol
45a508c27d 0.25.2 2019-02-08 12:01:59 +03:00
Serdar Dogruyol
eeeef0e5eb
Merge pull request #521 from Sija/use-github-hidden-dir
Move GH related files into .github directory
2019-02-08 09:03:07 +03:00
Serdar Dogruyol
f2262d839b
Merge pull request #522 from Sija/add-license-to-shard-yml
Specify license in shard.yml
2019-02-08 09:02:11 +03:00
Sijawusz Pur Rahnama
91cd0ab60d Specify license in shard.yml 2019-02-07 17:48:16 +01:00
Sijawusz Pur Rahnama
37bb01a21c Move GH related files into .github directory 2019-02-07 17:39:30 +01:00
Serdar Dogruyol
53609b3afa
Revert "Add targets to shard.yml" (#519) 2019-02-05 12:20:57 +03:00
Sijawusz Pur Rahnama
2b71b4af36 Revert "Add targets to shard.yml"
This reverts commit ff37027afe.
2019-02-05 09:55:10 +01:00
Sijawusz Pur Rahnama
1fa87761a4 Run crystal tool format --check on Travis CI (#518) 2019-02-05 11:23:20 +03:00
Sijawusz Pur Rahnama
6cf2b40ca8 Fix misspelled authors key in shard.yml (#517) 2019-02-05 10:49:26 +03:00
Sijawusz Pur Rahnama
b7bf9d771f Use Crystal built-in MIME registry (#516) 2019-02-05 10:26:45 +03:00
Serdar Dogruyol
dcffd7b3f9
Merge pull request #515 from kemalcr/fix-closed-io-404
Do not try to call ExceptionHandler#call_exception_with_status_code on a closed response
2019-01-17 22:06:36 +03:00
sdogruyol
b0a17ac9b4 Do not try to call ExceptionHandler#call_exception_with_status_code on a closed response. Fixes #514 2019-01-16 23:33:33 +03:00
Serdar Dogruyol
0fa869cf96
allow to set filename for send_file (#512) 2019-01-16 21:59:57 +03:00
Anton Maminov
c3dd24482e set status_code before response (#513) 2018-12-25 19:06:07 +03:00
Anton Maminov
6f111ffbb0 allow to set filename for send_file
if the disposition type matches "attachment", this
indicates that the recipient should prompt the user to save the response
locally, rather than process it normally
2018-12-23 13:24:27 +02:00
Diego Guraieb
a5d8df7382 Add support for parsing command line parameters from other sources than ARGV (#483) 2018-11-30 19:16:08 +03:00
Sijawusz Pur Rahnama
50f48509fd Use compile-time StringLiteral#downcase instead of runtime String#downcase (#508) 2018-11-14 13:47:46 +03:00
ikarigeorge
482b4a6e7d Fixing exclude method in Handler (#507) 2018-11-11 00:58:41 +03:00
Anton Maminov
4ccea8d6a1 fix upload file example in changelog (#504) 2018-11-05 23:55:20 +03:00
Serdar Dogruyol
22a2a69d65 0.25.1 2018-11-05 22:59:34 +03:00
Anton Maminov
6de5e7b929 Fix ParamParser files memoization (#503) 2018-11-05 22:51:22 +03:00
Serdar Dogruyol
8bfc3313e9 0.25.0 2018-11-05 02:27:44 +03:00
Serdar Dogruyol
7358994e91
Fix multipart upload and back params.files (#499) 2018-11-05 02:20:21 +03:00
Serdar Dogruyol
207f38251a Remove Kemal::OverrideMethodHandler 2018-11-05 02:18:52 +03:00
Julien Reichardt
21ab64511a Add allocation optimizations (#487) 2018-11-01 14:29:05 +03:00
Serdar Dogruyol
afd17fc774
Merge pull request #500 from kemalcr/override-method-handler
Add Kemal::OverrideMethodHandler to support _method magic param
2018-10-27 20:50:12 +03:00
Serdar Dogruyol
a60168d039 Add docs to Kemal::OverrideMethodHandler 2018-10-26 18:45:04 +03:00
Serdar Dogruyol
3f7c8b4577 Add Kemal::OverrideMethodHandler 2018-10-26 15:00:24 +03:00
Brian Douglas Smith
b389022b35 Remove deprecated alias HTTP::Server#bind_ssl (#495) 2018-09-20 11:15:05 +03:00
Serdar Dogruyol
cd5f83f013
Merge pull request #493 from kemalcr/cache-routes
Cache HTTP routes
2018-09-17 19:05:20 +03:00
Serdar Dogruyol
4bb56d2376 Only clear cached_routes if there's a route 2018-09-17 09:51:56 +03:00
Serdar Dogruyol
1a8a3c5b1d Add cache size limit check to caching routes 2018-09-16 15:43:53 +03:00
Serdar Dogruyol
8fb028149b Cache http routes 2018-09-16 13:22:45 +03:00
Serdar Dogruyol
e59cd646cd
Merge pull request #490 from straight-shoota/jm/fix/tempfile
Remove unused require "tempfile"
2018-09-12 14:38:06 +03:00
Johannes Müller
1e894a39bc
Remove unused require "tempfile" 2018-09-06 11:17:30 +02:00
Serdar Dogruyol
9448360eac 0.24.0 2018-08-14 14:17:26 +03:00
Serdar Dogruyol
e468e2e340 route_defined? -> route_found? 2018-08-13 19:21:18 +03:00
Serdar Dogruyol
2b3ae85c34 Move response under ext 2018-08-13 16:29:32 +03:00
Serdar Dogruyol
423998e287
Modification of #471 (#476) 2018-08-13 15:47:20 +03:00