Comments (2)
here's some python sample code
this "method override" isn't necessarily google-specific, it seems -- but everyone has their own way of doing this. here's a dated-looking page
the code itself is easy, though:
- change method from
GET
toPOST
- add query params to the body as a urlencoded string (so something like
a=1&q=foo
) - set
headers['content-length'] = <length of body string>
- set
headers['content-type'] = 'application/x-www-form-urlencoded'
- drop query from the url
- set
headers['x-http-method-override'] = 'GET'
from hsbencher.
I think this is deprioritized for now because I went ahead and added a bulkImportRows
to handa-gdata (0.6.9) and switched HSbencher over to using that in version 1.5. But it's a good trick to know.
(Additionally, HSBencher is somewhat smart now and will handle arbitrary differences in the server side schema during results upload.)
from hsbencher.
Related Issues (20)
- Rationalize hsbencher command line executable names
- Support setting arbitrary column's values from the "meaning" field
- Passive upload mode HOT 2
- hsbencher-graph example broken HOT 1
- Error messages printed non-uniformly
- Column handling error
- Better error message when no results are returned HOT 1
- Prune excessive builtin columns HOT 1
- Move upload/download executables to hsbencher-fusion HOT 1
- Remove hgdata submodule HOT 1
- BenchmarkResults fields should almost certainly use lenses HOT 1
- [Re]Design ASCII benchmark file format HOT 1
- Important: switch back from `measureProcessDbg` to `measureProcess`
- Why is CPUAffinity not part of CommandDescr
- Allow tags to override ALL builtin fields
- Switch from test-framework to tasty
- [feature request] Something like Make's --dry HOT 1
- jenkins hsbencher 7.10 failure HOT 5
- Example of makeMethod detection failing
- Switch to Fusion Tables V2 + Gogol libraries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hsbencher.