Commit Graph

45 Commits

Author SHA1 Message Date
LitoMore
511585aa97
docs(http/unstable): add example for multiple request methods on route (#6045) 2024-09-25 12:43:58 +09:00
Asher Gomez
0b2497f16e
fix: update codebase to work with Deno RC (#6018)
* fix: update codebase to work with Deno RC

* work

* fix

* fix

* fix

* fixes

* work

* update

* fixes

* fix

* revert
2024-09-20 09:29:31 +10:00
Yoshiya Hinosawa
c594a0ce49
BREAKING(http/unstable): move route to ./unstable-route (#5939) 2024-09-12 12:50:47 +09:00
Yoshiya Hinosawa
8d7e184943
refactor(http): move unstable APIs (header, method, signed-cookie) (#5938) 2024-09-11 20:23:59 +09:00
Asher Gomez
e8aa4dfa4c
feat(http/unstable): route module (#5644)
* feat(http): `http/router`

* work

* work

* fix

* work

* fix

* clean

* add unstable notices

* fix

* work

* work

* work

* work

* fix

* fix

* fix

* work
2024-08-07 14:35:13 +02:00
Halvard Mørstad
259ce6dfd2
feat(http/unstable): headers module (#4317)
* Added IANA headers

* Apply suggestions from code review

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Cleaned up and added jsr support

* Fixed linting

* unstable notices

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:29:53 +00:00
Halvard Mørstad
a9f3558b85
feat(http/unstable): methods module (#4320)
* Added methods to http namespace

* Renamed type and const

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Cleaned up methods and added support for jsr

* Fixed linting

* unstable notices

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-06 09:24:45 +00:00
Luca Casonato
65c189aea6
fix(http): only show LAN address when --allow-sys is provided (#5547)
This commit changes the behaviour of the file server to only print the LAN address if `--allow-sys=networkInterfaces` is provided. If it is not provided, no permission prompt for `--allow-sys` will be raised, and the LAN address will not be printed.
2024-07-25 12:13:16 +02:00
Yoshiya Hinosawa
8ebe7d1c7f
BREAKING(http): change the default port of file-server to the same default of Deno.serve() (#4888)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-24 13:57:37 +09:00
Elisée Maurer
0036fb76a2
docs(http): remove outdated mention of CookieMap (#5109) 2024-06-22 10:35:42 +00:00
Asher Gomez
64e504a4de
BREAKING(http): move unstable-signed-cookie to signed-cookie (#5101)
* BREAKING(http): move `unstable-signed-cookie` to `signed-cookie`

* fix

* fix
2024-06-22 06:27:53 +00:00
Asher Gomez
051ab73026
BREAKING(http): remove deprecated server module (#5100) 2024-06-22 15:47:02 +10:00
Asher Gomez
79d6a70729
docs(assert,cli,data-structures,expect,fmt,front-matter,html,http,jsonc,semver,streams,text,toml,webgpu): add snippet checks in module, function and class docs to doc checker (#4855)
* chore: add snippet checks to module docs

* fix

* work

* tweak
2024-05-31 12:01:46 +10:00
Santiago Aguilar Hernández
fc8b738487
docs(http): added --allow-sys to file server example (#4890)
added --allow-sys to file-server example
2024-05-30 09:00:09 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link} tag where necessary. (#4253)
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Tim Reichen
d23718945e
feat(tools,log,http,semver): check mod exports, export items consistently from mod.ts (#4229) 2024-01-25 18:36:46 +09:00
Asher Gomez
5d66bdffb4
BREAKING(http): remove CookieMap (#4179) 2024-01-14 19:55:47 +09:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
2cb08fc965
BREAKING(http): remove deprecated createCommonResponse() and Status APIs (#4014) 2023-12-22 19:33:44 +09:00
Asher Gomez
48c489e716
BREAKING(http): remove deprecated std/http/method API (#3951) 2023-12-14 12:19:23 +09:00
Asher Gomez
32f0a4fbcf
feat(http): signCookie(), verifyCookie() and parseSignedCookie() (#3905) 2023-12-13 13:55:12 +11:00
Asher Gomez
c89fb9b5aa
BREAKING(http): remove ServerSentEvent() (#3847) 2023-11-24 19:07:50 +11:00
Asher Gomez
dec5a4a742
BREAKING: remove deprecated std/http/http_errors (#3737) 2023-11-15 05:12:48 +11:00
Asher Gomez
08f4dbc969
feat: ServerSentEventStream() (#3751) 2023-11-09 05:07:46 +11:00
Lino Le Van
1d489cf207
BREAKING(http/server): deprecate serve and serveTls (#3381) 2023-07-21 12:29:01 +09:00
Kitson Kelly
7cdd55a083
feat: add http/user_agent (#3387) 2023-07-04 11:39:46 +09:00
Kitson Kelly
26cc265e26
feat(http): add HTTP_METHODS, HttpMethod, and isHttpMethod (#3309) 2023-05-03 17:38:24 +09:00
Kitson Kelly
016b452409
feat: add http/etag (#3245) 2023-04-12 20:51:19 +09:00
Kitson Kelly
1c8cbbcab0
feat(http): add http/server_sent_event (#3239) 2023-03-14 15:29:44 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Leo Kettmeir
aba5017d43
docs: reorganize docs (#2658) 2022-11-25 12:40:23 +01:00
Kitson Kelly
d3ee523011
feat(http): add CookieMap and SecureCookieMap (#2502) 2022-08-22 18:27:31 +10:00
Kitson Kelly
e83306672e
docs: improve module documentation (#2511) 2022-08-11 21:51:20 +10:00
Kitson Kelly
2a02009d42
feat(http): add content negotiation (#2302) 2022-07-04 17:26:56 +10:00
Kitson Kelly
5f0eb925d8
feat(http): add HTTP errors (#2307) 2022-07-04 16:40:11 +10:00
Bartek Iwańczuk
a06298b0b5
chore: Update top level module JSDocs (#2343)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-06-14 11:20:56 +02:00
like-nanhai
c75454c44b
docs: add module level docs (#2190) 2022-05-04 19:34:37 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Ryan Dahl
48a2496dbe update copyright to 2021 (denoland/deno#9081) 2021-02-01 10:46:59 +00:00
tokiedokie
d3fa1bbf5d chore: add copyright (denoland/deno#7593) 2021-02-01 10:46:58 +00:00
Nayeem Rahman
90bd2ad881 feat: Add missing mod.ts files in std (denoland/deno#3509)
archive/tar.ts:
- Remove FileReader.
- Remove FileWriter.

encoding/csv.ts:
- ExtendedParseOptions -> ParseOptions
- HeaderOption -> HeaderOptions
- ParseOptions -> ReadOptions
- readAll() -> readMatrix()

encoding/yaml.ts:
- DumpOptions -> StringifyOptions

fmt/colors.ts:
- getEnabled() -> getColorEnabled()
- setEnabled() -> setColorEnabled()

testing/mod.ts:
- Re-export sibling modules.
2021-02-01 10:46:56 +00:00
Ryan Dahl
e79cb5a31a
Rename http/http.ts to http/server.ts (#170)
Remove http/mod.ts
2019-02-02 18:57:38 -05:00
Kitson Kelly
b99d7d3e0f Improve re-exports in http (#111) 2019-01-13 19:55:23 -05:00
Andy Hayden
c5e6e015b5 Reorgnanize repos, examples and tests (#105) 2019-01-12 16:50:04 -05:00