Comments (5)
You want to intercept and inspect the http requests coming out of an R process, no matter what code originated them or what host they're going to?
from httpuv.
Yeah, its the same concept as this chrome plugin https://chrome.google.com/webstore/detail/live-http-headers/iaiioopjkcekapmldfgbebdclcnpgnlo - trying to make a shiny app that will listen via httpuv for http requests and display them so users can inspect all their requests - not sure if this is possible though.
The use case is that I want a viewer for https://github.com/ropenscilabs/vcr users to inspect all their http requests via files on the file system that define http request and response fields . This is straightforward.
However, I thought to make it more general it would be nice to optionally listen for all http requests made from R (or some subset defined by the user, either port or host specific, etc.) - this is the hard part
from httpuv.
@jcheng5 any thoughts on this? i'm also trying to port the Ruby library https://github.com/bblimke/webmock - which takes the approach of listening to http request made in the ruby session - would be interested to know if you think this is doable
from httpuv.
Closing because this is out of scope for httpuv.
from httpuv.
sounds good, figured out the right (and different) approach
from httpuv.
Related Issues (20)
- automake: Perl lib version (5.28.2) doesn't match executable HOT 1
- OS signals may be received by background thread HOT 1
- Error while installing the library from source due to RcppExports HOT 1
- Installation failure with R 4.2.0 HOT 2
- GPL license
- Antivirus new install HOT 4
- staticPath logging HOT 1
- HTTP/2 support HOT 2
- Random crashes on MacOS HOT 16
- Unable to install httput - R 4.2.2 HOT 3
- Warning with clang 16 HOT 2
- Possible to use multiple worker threads? HOT 2
- Unable to install httpuv - R 3.5.3 HOT 2
- macOS: Assertion fails when closing `{httpuv}` server HOT 2
- CRAN firedrill 2023-05 HOT 4
- clang-ASAN: "runtime error: applying zero offset to null pointer"
- httpuv v1.6.11 release checklist HOT 1
- httpuv 1.6.10 crashes with "uv__finish_close: Assertion `handle->flags & UV_HANDLE_CLOSING' failed" HOT 4
- Don't dynamically link to libuv on macOS
- CI workflows for sanitizers HOT 1
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 httpuv.