tagged [uri]

How to URL encode a string in Ruby

How to URL encode a string in Ruby How do I `URI::encode` a string like: to get it in a format like: as per RFC 1738? Here's what I tried: ``` irb(main):123:0> URI::encode "\x12\x34\x56\x78\x9a\xbc\xd...

MonoTorrent magnet link download does not start

MonoTorrent magnet link download does not start I strongly believe that MonoTorrent library can do this, but it is probably due to the lack of documentation that I haven't been able to get it working....

23 May at 12:2

How to use "Share image using" sharing Intent to share images in android?

How to use "Share image using" sharing Intent to share images in android? I have an image galley app; in that app I placed all the images into the drawable-hdpi folder. I call images in my activity li...

12 Feb at 17:47

Path.Combine for URLs (part 2)

Path.Combine for URLs (part 2) For awhile now, I've been searching for a Path.Combine method that works on URLs. This is similiar to [Path.Combine for URLs?](https://stackoverflow.com/questions/372865...

23 May at 10:30

In WPF, how do I reference a font in a resource library in code behind?

In WPF, how do I reference a font in a resource library in code behind? I have an application that uses a separate library assembly for resources (but not a resource-only assembly with no code), and I...

9 May at 19:59

How to open a packaged file with WinRT

How to open a packaged file with WinRT I am trying to figure out how to port some .Net code that parsed an xml file to WinRT. So far, with the help of [The given System.Uri cannot be converted into a ...

23 May at 11:58

Is embedding background image data into CSS as Base64 good or bad practice?

Is embedding background image data into CSS as Base64 good or bad practice? I was looking at the source of a greasemonkey userscript and noticed the following in their css: ``` .even { background: #ff...

29 Nov at 12:21

How to create a Uri instance parsed with GenericUriParserOptions.DontCompressPath

How to create a Uri instance parsed with GenericUriParserOptions.DontCompressPath When the .NET `System.Uri` class parses strings it performs some normalization on the input, such as lower-casing the ...

25 Mar at 13:39

HttpWebRequest long URI workaround?

HttpWebRequest long URI workaround? I've encountered an issue with HttpWebRequest that if the URI is over 2048 characters long the request fails and returns a 404 error even though the server is perfe...

19 Oct at 10:41

Why is it that "No HTTP resource was found that matches the request URI" here?

Why is it that "No HTTP resource was found that matches the request URI" here? I have code in my controller like so: ...and I'm calling it via Postman like so: .