Граф коммитов

841 Коммитов

Автор SHA1 Сообщение Дата
Dan Schulte 9fd1a49627 Rename generateRequestIdPolicy to generateClientRequestIdPolicy 2018-05-23 14:55:16 -07:00
Dan Schulte ab6517a882 Don't add generateRequestIdPolicy by default 2018-05-23 14:24:10 -07:00
Dan Schulte 0777ce09c1 Add generateRequestIdPolicy and options to add it 2018-05-23 14:00:11 -07:00
Rikki Gibson 6ce569bcde
Merge pull request #103 from RikkiGibson/DeserializeHeaders
Deserialize headers
2018-05-23 13:17:34 -07:00
Rikki Gibson 6d2dd56c75 Reverse order of body and headers generic parameters 2018-05-23 12:54:58 -07:00
Rikki Gibson fe494789b6 Always parse numbers and booleans in serializer 2018-05-23 12:47:47 -07:00
Rikki Gibson bebb2d890e Add parsedHeaders property to HttpOperationResponse 2018-05-23 12:47:47 -07:00
Dan Schulte 593fa261f6
Merge pull request #102 from Azure/daschult/UseHttpHeaders
Use HttpHeaders instead of raw JSON objects
2018-05-23 12:46:25 -07:00
Dan Schulte f657e0fdef Fix conversion of HttpHeaders to axios headers 2018-05-23 10:22:50 -07:00
Dan Schulte 8d32942b44 Move strEnum() function to serializer.ts 2018-05-23 09:50:08 -07:00
Dan Schulte a855ea3a66 Change WebResource to use HttpHeaders instead of JSON object 2018-05-23 09:28:46 -07:00
Dan Schulte 078a866361
Merge pull request #101 from Azure/daschult/CloneForRpRegistrationPolicy
Add HTTP request cloning to rpRegistrationPolicy
2018-05-22 15:35:35 -07:00
Dan Schulte 8f76f0e8c4 Add HTTP request cloning to rpRegistrationPolicy 2018-05-22 15:31:06 -07:00
Dan Schulte 04efe8e91f
Merge pull request #100 from Azure/daschult/RetrysShouldClone
Retry policies should clone HTTP requests
2018-05-22 15:10:16 -07:00
Dan Schulte 5fd6b70d34 Remove redundant assignment 2018-05-22 15:03:52 -07:00
Dan Schulte 5ff7cd54cd Add newline to end of package.json file 2018-05-22 14:54:52 -07:00
Dan Schulte a8fe5116b0 Clone HTTP requests before sending them through retry policies 2018-05-22 14:52:49 -07:00
Dan Schulte df628b8ceb
Merge pull request #99 from Azure/daschult/customheaders
Add OperationArguments and evaluate header parameters
2018-05-22 13:07:02 -07:00
Dan Schulte 1377b0816f Merge branch 'master' into daschult/customheaders 2018-05-22 10:55:41 -07:00
Dan Schulte 16ff151e35 Add OperationArguments and evaluate header parameters 2018-05-22 10:53:55 -07:00
Rikki Gibson 28ac7ad626
Merge pull request #94 from RikkiGibson/Axios
Axios and cancellation
2018-05-21 16:29:37 -07:00
Rikki Gibson fb7e7f608b Fix testserver hang and fix Windows test 2018-05-21 16:07:33 -07:00
Rikki Gibson 254788a4fc Explain maxContentLength and fix test 2018-05-21 15:51:09 -07:00
Rikki Gibson ff5bf45512 Depend directly on AbortController because it's a standard 2018-05-21 15:51:09 -07:00
Rikki Gibson 55132b745e Recreate package-lock.json yet again 2018-05-21 15:51:09 -07:00
Rikki Gibson d2b783a5f5 Note why undefined bodies are converted to null 2018-05-21 15:51:09 -07:00
Rikki Gibson e0784865ec Fix build error and refine cancel test 2018-05-21 15:51:09 -07:00
Rikki Gibson 18d5680097 Add cancellationToken to RequestOptionsBase 2018-05-21 15:51:09 -07:00
Rikki Gibson 31e5d70266 Add cancellation and axiosHttpClientTests 2018-05-21 15:51:09 -07:00
Rikki Gibson 2b5f50f0b2 Uninstall @types/axios since it's redundant 2018-05-21 15:51:09 -07:00
Rikki Gibson ad10be3024 Fix build errors from fetchHttpClient and reference published isomorphic-tough-cookie 2018-05-21 15:51:09 -07:00
Rikki Gibson a1ec5314a1 Update package-lock.json 2018-05-21 15:51:09 -07:00
Rikki Gibson e2f3d2828f fetchHttpClient -> axiosHttpClient 2018-05-21 15:51:09 -07:00
Rikki Gibson 7a7d8fc0e4 Use isomorphic-tough-cookie. Allow Content-Type header with missing body. 2018-05-21 15:51:09 -07:00
Rikki Gibson 11896a2ce9 Use axios instead of fetch 2018-05-21 15:51:09 -07:00
Dan Schulte cd33133617
Merge pull request #95 from Azure/daschult/serialization
Add serializationPolicy
2018-05-21 09:56:17 -07:00
Dan Schulte 3646d393fb Add simple test for serializationPolicy 2018-05-21 09:37:31 -07:00
Dan Schulte e7fba2a442 Fixed all tests, push serializationPolicy to the end of the default pipeline 2018-05-18 15:19:49 -07:00
Dan Schulte b7e2197bbc Working on adding serializationPolicy 2018-05-18 11:28:33 -07:00
Dan Schulte 59d03f8db4 Merge branch 'master' into daschult/serialization 2018-05-17 14:07:31 -07:00
Dan Schulte c4dd6f3211
Merge pull request #93 from Azure/daschult/DevScripts
Add dev scripts
2018-05-17 10:17:31 -07:00
Dan Schulte ed699232f9 Update dependencies.js to indicate path to package.json being modified 2018-05-17 10:13:57 -07:00
Dan Schulte d0800f5dd6 Remove unused dev script functions 2018-05-17 10:08:22 -07:00
Dan Schulte 0aa2b6b323 Add dev scripts 2018-05-17 10:06:12 -07:00
Rikki Gibson a6b06917bf
Merge pull request #92 from RikkiGibson/AddExports
Export HttpHeaders and RequestPolicyCreator
2018-05-17 10:05:38 -07:00
Rikki Gibson d896ed7494 Export HttpHeaders and RequestPolicyCreator 2018-05-16 16:35:34 -07:00
Dan Schulte e761b27252 Merge branch 'master' into daschult/serialization 2018-05-16 14:47:41 -07:00
Dan Schulte f780228506 Add SerializationPolicy 2018-05-16 14:47:17 -07:00
Rikki Gibson 2568dfec1c
Merge pull request #91 from Azure/CD2
Explicitly unignore dist and typings when packing
2018-05-16 14:24:06 -07:00
Rikki Gibson b572bdadb7 Explicitly unignore dist and typings when packing 2018-05-16 14:18:42 -07:00