Code Monkey home page Code Monkey logo

hprose-aauto's Issues

行 1503

attempt to:perform arithmetic on
kind:variable(local)
name:'pos'
type:null
参数位置:0
数据类型:null
变量值:null

自定义headers头参数合并问题

table.push(hps.headers,“X-Token: aaabbbccc”)

1561行
http.headers = ..string.join(owner.headers, '\r\n');
对headers数组合并,末尾差个’\r\n‘,
执行
http.headers += 'Content-Type: application/hprose\r\n';
后,上面的最后一条会和Content-Type: application/hprose\r\n 连成一条,没有换行

超时时间设置无效

http.setTimeouts 的设置必须紧接着,否则超时设置无效,一直都是默认30秒的超时
下面就是正确的方式
var http = ..inet.whttp( ,proxy, proxyBypass);
http.setTimeouts(owner.timeout, owner.timeout, owner.timeout);

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.