Code Monkey home page Code Monkey logo

learning-videos's People

Contributors

allenxuxu avatar hb-chen avatar printfcoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learning-videos's Issues

偶尔出现missing content-type field错误

连续发请求时,偶尔出现missing content-type field,我观察当出现错误时,服务端会有连续两条接收到的提示,时间间隔非常短。

curl -XGET "http://localhost:8080/example?name=john"
{"message":"Meta已经收到你的请求,john\n"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"id":"go.micro.client","code":500,"detail":"OK: HTTP status code 200; transport: missing content-type field","status":"Internal Server Error"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"message":"Meta已经收到你的请求,john\n"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"message":"Meta已经收到你的请求,john\n"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"id":"go.micro.client","code":500,"detail":"OK: HTTP status code 200; transport: missing content-type field","status":"Internal Server Error"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"message":"Meta已经收到你的请求,john\n"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"message":"Meta已经收到你的请求,john\n"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"id":"go.micro.client","code":500,"detail":"OK: HTTP status code 200; transport: missing content-type field","status":"Internal Server Error"}

root@ubuntu:/home/ningzi# curl -XGET "http://localhost:8080/example?name=john"
{"message":"Meta已经收到你的请求,john\n"}

当出现500时,会出现两条信息。
2020-03-05 06:46:28.134669 I | Meta Example.Call接口收到请求
2020-03-05 06:46:28.238196 I | Meta Example.Call接口收到请求

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.