Dmitrij Kuba
8a74508130
fix(http): avoid abort a request when fetch operation is completed ( #37367 )
...
`abort` method is calling, even if fetch operation is completed
Fixes https://github.com/angular/angular/issues/36537
PR Close #37367
2020-06-25 12:09:39 -07:00
Joey Perrott
d1ea1f4c7f
build: update license headers to reference Google LLC ( #37205 )
...
Update the license headers throughout the repository to reference Google LLC
rather than Google Inc, for the required license headers.
PR Close #37205
2020-05-26 14:26:58 -04:00
Joey Perrott
698b0288be
build: reformat repo to new [email protected] ( #36613 )
...
PR Close #36613
2020-04-14 12:08:36 -07:00
cexbrayat
fcfce99e9e
fix(common): remove extra & in http params ( #34896 )
...
Previous to this commit, HTTP params like `{ a: '1', b: [], c: '3' }` resulted in a request like `a=1&&c=3` (note the double &&).
The ideal fix would probably be to stringify these params to `a=1&b=&c=3` like we do for empty string values. But that might be breaking as some APIs may rely on the absence of the parameter.
This fixes the issue in a compatible way by just removing the extra and unnecessary `&`, resulting in `a=1&c=3`.
PR Close #34896
2020-01-31 11:26:25 -08:00
skrikl
0254cba4b3
docs: Fix double 'as an' in description at line 2069 ( #34373 )
...
PR Close #34373
2020-01-07 10:29:41 -08:00
Muhammad Umair
7b87392f47
docs: added value param wrt. method signature ( #32968 )
...
PR Close #32968
2019-11-06 19:51:19 +00:00
Judy Bogart
8321bd8a74
docs: clarify http header api doc ( #33038 )
...
PR Close #33038
2019-10-14 23:45:45 +00:00
Miško Hevery
0c69ec20c2
fix: google3 sync which requires type hints ( #33108 )
...
PR Close #33108
2019-10-11 12:09:20 -07:00
Danny Skoog
6ab5f3648a
refactor: utilize type narrowing ( #33075 )
...
PR Close #33075
2019-10-10 15:18:44 -07:00
Judy Bogart
9e7aa60ae7
docs: clarify http response type ( #32817 )
...
PR Close #32817
2019-10-01 11:00:36 -07:00
Mansour Fall
f5bec3ff50
feat(common): HttpParams fromObject accepts ReadonlyArray<string> ( #31072 )
...
Fixes #28452
PR Close #31072
2019-08-30 12:55:02 -07:00
Judy Bogart
27997a16c0
docs: http api doc edit ( #31613 )
...
PR Close #31613
2019-07-23 21:12:25 -07:00
Paul Gschwendtner
0139b11227
refactor(common): ensure compatibility with typescript strict flag ( #30993 )
...
As part of FW-1265, the `@angular/common` package is made compatible
with the TypeScript `--strict` flag. Read more about the strict flag [here](https://www.typescriptlang.org/docs/handbook/compiler-options.html )
PR Close #30993
2019-07-18 14:21:26 -07:00
Santosh Yadav
5c18f23788
fix(common): expose the HttpUploadProgressEvent interface as public API ( #30852 )
...
Fixes #30814
PR Close #30852
2019-06-07 08:47:47 -07:00
JoostK
8e8e89a119
fix(common): prevent repeated application of HttpParams mutations ( #29045 )
...
Previously, an instance of HttpParams would retain its list of mutations
after they have been materialized as a result of a read operation. Not
only does this unnecessarily hold onto memory, more importantly does it
introduce a bug where branching of off a materialized instance would
reconsider the set of mutations that had already been applied, resulting
in repeated application of mutations.
This commit fixes the bug by clearing the list of pending mutations
after they have been materialized, such that they will not be considered
once again for branched off instances.
Fixes #20430
PR Close #29045
2019-04-23 08:43:54 -07:00
José I. Escudero
0cab43785b
docs: fixed typo on HttpParamsOptions ( #29930 )
...
PR Close #29930
2019-04-22 16:36:52 -07:00
Vani
b17d1a9aa3
docs: update description text ( #28507 )
...
PR Close #28507
2019-03-27 09:57:36 -07:00
Vani
60f6d9e733
docs: fix lint error ( #28507 )
...
PR Close #28507
2019-03-27 09:57:36 -07:00
Vani
416b0d29b9
docs: add details to HttpUrlEncodingCodec API description ( #28507 )
...
PR Close #28507
2019-03-27 09:57:36 -07:00
Vani
65d839da03
docs(common): update docs for HttpClient methods ( #26143 )
...
PR Close #26143
2019-02-21 20:56:11 -08:00
Vani
8accc98d28
docs: incorporate review feedback ( #26827 )
...
PR Close #26827
2019-02-14 19:33:14 +00:00
Vani
aa8d0809d3
docs: update HttpInterceptor API docs ( #26827 )
...
PR Close #26827
2019-02-14 19:33:14 +00:00
Vani
c3fadadaa9
docs: update HttpHeader documentation ( #26233 )
...
PR Close #26233
2019-02-07 16:42:13 -08:00
Trotyl Yu
1db53da0d3
fix(common): expose request url in network error ( #27143 )
...
closes #27029
PR Close #27143
2018-11-27 10:16:22 -08:00
Pete Bacon Darwin
0918adf39d
docs: common with @publicApi tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
Judy Bogart
dd5e35ee67
docs: add ngmodule api doc ( #25618 )
...
PR Close #25618
2018-09-19 10:40:58 -07:00
Alex Eagle
cbbad1b791
refactor(ivy): pre-factor: set explicit type parameters for ModuleWithProviders ( #25970 )
...
Ivy depends on having the generic type token later when reading the ModuleWithProviders from a .d.ts file.
PR Close #25970
2018-09-18 13:28:44 -07:00
Alan Agius
5653fada32
feat: add TypeScript 3 support ( #25275 )
...
PR Close #25275
2018-08-27 21:07:53 -04:00
Pete Bacon Darwin
15cc85c54a
style(common): fix short param names ( #23667 )
...
PR Close #23667
2018-08-03 14:09:27 -07:00
riren
5fe1e74dd3
docs(common): fix in the documentation of PUT ( #24528 )
...
PR Close #24528
2018-07-06 10:13:20 -07:00