unix - HTTP 400 - URL - -
i have mvc site controller couple of methods partner post to. can post web server local machine, across wan successfully.
my partner tries post unix server , results in http 400 - url.
i know url good, , know response because can post multiple different network, posting windows.
he posting:
post domain.com/controllername/action http/1.0 content-type: application/x-www-form-urlencoded content-length: 136 (content-length off because changed request body data security purposes) parm1=value1%0d%0aparm2=value2%0d%0aparam2=value3%0d%0a
i can take data , post windows machine server fine.
we looking @ http 1.0 value (this can't changed side) , if perhaps iis 8.5 on server 2012 r2 having issue it.
has had experience this? if so, have information on how can resolve issue?
in event else has issue this, post solution.
the code partner's unix machine opening connection domain.com when posted posting domain.com/controller/action.
however, after careful research , tracing, discovered windows server seeing domain.com/domain.com/controller/action. hence 400 url error in log.
to solve problem updated on unix machine open connection domain.com , post /controller/action.
problem solved.
Comments
Post a Comment