?
Solved

I get a 400 erro on HTTPQueryInfoA.

Posted on 2007-11-15
3
Medium Priority
?
450 Views
Last Modified: 2012-05-05
I issue HttpQueryInfoA on a file named on the server as %.jpg. I can't see any packets going over to the  server. Does this mean Windows is returning the error? The same code works if the file is more normally named.
0
Comment
Question by:memorymatrix
1 Comment
 
LVL 29

Accepted Solution

by:
Michael Pfister earned 2000 total points
ID: 20359097
Http error 400: Bad Request
This is because % is the escape character and .jpg is not a valid escape code.

Try %25 instead:

%25.jpg

will get the info of %.jpg
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question