Ryan Dahl
a25497fb66
Disable flaky fetch tests.
2018-11-27 11:33:23 -08:00
Ryan Dahl
eaec5a8780
Support uploading data from fetch()
...
Does not yet support streaming, only strings and TypedArrays for now.
2018-11-16 11:44:25 +08:00
Ryan Dahl
3c8d2bde68
Support request method and headers in fetch() ( #1188 )
...
Adds a general HttpHeader flatbuffer message for serializing requests
and responses.
2018-11-14 17:36:34 -08:00
Ryan Dahl
6446bc5328
Move fetch headers into its own file.
2018-11-02 20:50:01 -07:00
Kitson Kelly
c0492ef061
Make Headers more idiomatic ( #1062 )
2018-10-23 04:43:43 -07:00
ztplz
c4bddc4651
Implemente clone for FetchResponse ( #1054 )
2018-10-21 14:42:18 -07:00
ztplz
7210e7b33b
Make fetch header compliant with the current spec ( #1019 )
2018-10-19 12:12:36 -04:00
Ryan Dahl
cec82263c1
Format
2018-09-30 16:35:12 -04:00
ztplz
b635553fd7
Improve fetch headers ( #853 )
2018-09-30 10:31:50 -04:00
Parsa Ghadimi
4b1eb855bf
Make fetch.blob() work
2018-09-14 12:50:32 -07:00
qti3e
41c70b154f
Add support for fetch() headers ( #727 )
2018-09-12 15:16:42 -04:00
Ryan Dahl
8090fb252b
Expose deno.ErrorKind
...
Originally we planned to have a JS class for each error code. But it
seems better to just have a single DenoError class with a "kind"
property. One nice thing about using an enum instead of classes for
errors is that switch() can be used during error handling instead of a
bunch of instanceof branches.
2018-09-09 23:12:22 -04:00
Parsa Ghadimi
1052f8d0c9
Check allow-net in fetch
2018-09-06 11:07:10 -04:00
ShinDarth
bbc4e55bda
Minor code refactoring
2018-09-01 21:59:52 -04:00
Ryan Dahl
2dd9a8d028
Reorganize js/unit_tests.ts
2018-08-30 14:41:55 -04:00