Skip to content
#

uri

Here are 361 public repositories matching this topic...

Noitidart
Noitidart commented Oct 19, 2019

Coming from qs we would control how arrays in query parameters would be with the arrayFormat option (quote from qs docs below):

You may use the arrayFormat option to specify the format of the output array:

qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' })
// 'a[0]=b&a[1]=c'
qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' })
// 'a[]=b&a[
nicholascar
nicholascar commented Mar 20, 2020

Graph().parse("some-file.ttl", format="turtle") is a common way to load RDF into an rdflib Graph. We have methods such as rdflib.util.guess_format() to guess format from the file extensions so what we need now is for guess_format() to be triggered automatically if format is not given so parse() can be used like this:

Graph().parse("some-file.ttl")
adamw
adamw commented Feb 17, 2020

Currently websockets are unsupported:

class SttpBackendStub[F[_], S] private (
    monad: MonadError[F],
    matchers: PartialFunction[Request[_, _], F[Response[_]]],
    fallback: Option[SttpBackend[F, S, NothingT]]
) extends SttpBackend[F, S, NothingT] { // TODO

(note the TODO for the NothingT type parameter which specifies what kind of websockets are supported).

The bac

martinklepsch
martinklepsch commented Jan 3, 2018

Currently most of the examples in the README expect something after the /. Given that matching the "empty path" is a very common scenario users will want to accomplish it could be documented more prominently. I don't have more than anecdotal data on this but I'd expect that it is also often a source of confusion.

(def my-routes ["/" {"" :index ; I'm not even sure if this is correc
ctavan
ctavan commented Apr 2, 2019

The current master README on the front-page of this github repo is misleading with respect to isValidHostname as it points to unreleased changes that deprecate isValid and introduce isValidHostname… However those changes are still unreleased.

So if users of the latest tldjs@2.3.1 come to this repo and check out the readme they might easily get confused.

How about releasing a new vers

serradura
serradura commented Nov 9, 2017
client = RequestVia::Client.('example.com')

client.get '/foo'

foo_client = RequestVia::Client::Map.(client, 'foo')

foo_client.get # == client.get '/foo'

# or

foo_client = client.map.('/foo')

# ==============
# Possibilities
# ==============

[
  'foo'
  'bar',
].map &client.map # ou &RequestVia::Client::Map.(client)
 .map &:get

# or

require 'ostruct'

res

Improve this page

Add a description, image, and links to the uri topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the uri topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.