Commit Graph

55 Commits

Author SHA1 Message Date
3592052ac9 guard import
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-25 20:35:02 +03:00
fd5479f6e7 add ability to send headers and cookies
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-25 19:59:37 +03:00
4fe11b430e fix path query requests with templates
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-23 08:58:55 +03:00
807b4dc41a fix for url query params in url
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-01 02:25:29 +03:00
73fc3d34f0 minor tweaks
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-31 14:59:09 +03:00
09e7282b2b fix path template parsing
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-30 23:02:50 +03:00
5f029fd432 use metadata header names
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-23 12:22:27 +03:00
8555ebdd5c remove debug
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-14 22:16:01 +03:00
e497b5fa89 rework newRequest
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-09 16:27:49 +03:00
520dc29f89 fixup header filling after making new request
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-09 12:25:26 +03:00
59d6c26003 support metadata option
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-09 11:00:19 +03:00
f39d449ca2 lint
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-07-05 16:10:38 +03:00
7098c252dc allow to publish only body
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-06-11 15:21:36 +03:00
3cbc879769 fix stream timeout
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-29 22:38:38 +03:00
05add422d1
lint fixes (#25)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-25 16:26:36 +03:00
8de7912a91 detect response content-type
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-18 15:45:42 +03:00
6ccb40bab0 minor content-type fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-16 17:09:29 +03:00
2b16a8a7a6 allow to set content type with charset
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-10 12:46:34 +03:00
68b32989fc allow to override content-type
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-09 23:12:25 +03:00
9150958044 fix x-www-form-urlencoded requests
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-03 11:55:22 +03:00
5cdd48329e metadata.FromContext => metadata.FromOutgoingContext
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-31 10:43:38 +03:00
4bbf97a309 add minor dev comment
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 15:52:52 +03:00
02f29b0ef3 fix tls issues
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 15:48:57 +03:00
1787f44c54 cleanup
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-24 15:49:20 +03:00
1bbdf03f60 add aditional check for nil message passed
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-24 10:44:53 +03:00
fd1acd56cb add tag support
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-23 00:29:27 +03:00
573c1f50e2 rewrite query param and not marshal empty struct
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-21 17:44:48 +03:00
4237630f98 export DefaultContentType
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-06 18:54:18 +03:00
b216aa3509 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 15:11:04 +03:00
a1a3daa799 handle timeout errors
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 22:55:24 +03:00
d611a6aed5 initial support for path param
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 04:12:31 +03:00
7a29127d17 update micro to v3.1.1
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 01:58:43 +03:00
59d77f7b8c use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:48:10 +03:00
280d3a64c9 update go-micro and fix client/selector usage
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:47:03 +03:00
Asim Aslam
8dd4be1d52 replace config/cmd with cmd 2021-01-10 14:47:03 +03:00
b82816f2e9 fix import path for v2 release (#457)
* fix import path for v2 release

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:47:03 +03:00
Asim Aslam
ce4c0458bc add the various updates for proxy in http client/server 2021-01-10 14:47:03 +03:00
Asim Aslam
da340f01bc go fmt 2021-01-10 14:47:03 +03:00
Asim Aslam
55068d7bf9 move transport back 2021-01-10 14:47:03 +03:00
Asim Aslam
aa101624c2 Fix breaks related to removing node.port 2021-01-10 14:47:03 +03:00
Asim Aslam
214a98c3d2 Switch to broker.Event 2021-01-10 14:47:03 +03:00
Asim Aslam
09989a041d Move transport to network/transport 2021-01-10 14:47:03 +03:00
7016240bbb cleanup go.mod (#365)
* fix all tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 14:47:03 +03:00
Asim Aslam
1caae543af Go fmt and update go mod 2021-01-10 14:47:03 +03:00
Asim Aslam
be4e0bddee Move selector to client/selector 2021-01-10 14:47:03 +03:00
Asim Aslam
56e0b8a06e Update the location of data and cmd 2021-01-10 14:47:03 +03:00
Asim Aslam
04b4656653 Fix breaks 2021-01-10 14:47:03 +03:00
Asim Aslam
d0adceec59 update breaks 2021-01-10 14:47:03 +03:00
Asim Aslam
b8105ba4d1 fix clients 2021-01-10 14:47:03 +03:00
Asim Aslam
38ada730bb message options 2021-01-10 14:47:03 +03:00