Comments (3)
This behaviour is currently by-design - the docs desrcribe this to some extent:
Host: The last defined heading's URL host will be used.
Path: All paths will be concatenated, starting with the first heading (i.e. the topmost parent).
I have run into cases however where I re-defined the host part of the URL at some middle point of the Org heading hierarchy, and it is true that the result is a bit unexpected (i.e. the last host, but all the paths appended). Maybe if the host is re-defined at any level, this should effectively reset all other components of the URL as well. This would be a relatively large change in terms of user experience.
from verb.
But why not fix it? The template always starts with "http|https", right? Can it somehow reset the "topmost parent" if it gets redefined down the route while traversing the headings?
Hmm, wait. I might be missing something else there. Need to consult the code and think of some other use cases.
from verb.
Fixed in 88f80c9
from verb.
Related Issues (20)
- Add environments to group related variables HOT 5
- How can set( or update) a header in `Verb-Map-Request` function? HOT 1
- broken multipart data support. HOT 1
- Multiple headers in a variable HOT 2
- http response buffer switching place with another buffer. HOT 2
- Multipart requests seem to not be working reliably HOT 2
- Question: bable source block postprocessing HOT 1
- verb-send-request-on-point doesn't correctly work for source blocks HOT 3
- Idiomatic way to handle optional query parameters? HOT 2
- Set a verb-var from the result of a request HOT 9
- Naming: "url schema" vs "url scheme" HOT 1
- Broken response parsing in some cases HOT 2
- Use colors to represent status code severity
- Allow specifying protocol version in request specs HOT 2
- Code tag with multi-line result HOT 7
- Allow query params to span multiple lines HOT 2
- Add export to `grpcurl` HOT 1
- How auth can be added to the request, and reuse the token? HOT 2
- Automatic use of `verb-var` variable HOT 3
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 verb.