I've started to try out BizUnit and noticed that the Http Request Response have a URL of BTSHTTPReceive.dll?ReqResp
I can't find anything in the doc's about using the ?ReqResp
Is this needed?, or does it add some value?
...
Hey All,
Im still somewhat of a newbie on jQuery and the ajax scene, but I have an $.ajax request performing a GET to retrieve some XML files (~6KB or less), however for the duration the user spends on that page that XML content should not / will not change (this design I cannot change, I also don't have access to change the XML file as...
I am looking for a way to measure the size of web requests and responses that I make in my browser. I would need a way to measure regular requests, as well as ajax requests. I am trying to improve Ajax performance by decreasing request and response size, and I need some way to benchmark this on the client end as well as measure my progre...
I have a custom handler that is returning an image to the browser.
The images are fetched from a database.
For some reason the images are not being cached by the browser, and I was wondering if someone might be able to spot what I am missing from the below code:
HttpContext.Current.Response.BinaryWrite(imageBytes);
HttpContext.Current...
I'm looking for a way to find out how long a server has been up based only on the page it sends back. Like, if I went to www.google.com, is there some sort of response header variable that tells how long the server I connected to has been up? I'm doubting there is, but never hurts to ask...
...
I working on a utility app. When I run the app in simulator clicking i image at the bottom flips the view in a flash. But when I run the app on iPhone device it behaves abnormally. At times it flips the view in just 1 tap. The other times it does not bother to react even after tapping the image 10 times. I tried with other utility app al...
Hi,
What could be the difference between if-modified-since and if-none-match? I have a feeling that if-none-match is used for files whereas if-modified-since is used for pages?
...
Hello everyone,
I am wondering if there are configurable settings for restriction of the maximum request/respose data package size for WCF? I am using VSTS 2008 + WCF 3.5. I am self-host WCF service as a Windows Service.
thanks in advance,
George
...
hi
i have following piece of code:
public void ProcessRequest (HttpContext context)
{
context.Response.ContentType = "text/rtf; charset=UTF-8";
context.Response.Charset = "UTF-8";
context.Response.ContentEncoding = System.Text.Encoding.UTF8;
context.Response.AddHeader("Content-disposition", "attachment;filename=lista_o...
After uploading a file to a web server using ActionScript 2.0's FileReference class, how do I retrieve the server's response?
...
Hi guys!
I'd like to store my json response in a global variable so, i could use it through my app without making a getJSON request more than once.
var data;
$.getJSON("panorama.json",function(json){
data = json.images[0].src;
console.log(data);
});
console.log(data);
If I log it in the actual request its fine, but i get "undefi...
Hello everyone,
I am surprised to see that no WCF max response message size setting in wshttpbinding? My question is whether there is max response message size setting in wshttpbinding? I am using .Net 3.0 + C# + VSTS 2008.
BTW: I have found max request message size setting and tested it works.
thanks in advance,
George
...
One HTTP POST request/response transaction consists of
Upload Request Ηeaders
Upload Request Βody
Download Response Headers
Download Response Body
I'm looking in .net to measure the time it takes for no 4 above (response body) alone.
Is there an event sink or clever use of .net api (marking that the POST headers...
Hello. Client side Ajax Javascript code is using XMLHttpRequest to send a POST request, but I'm getting like a 0.5 second delay in getting the response and I'm trying to find out why, since I'd like it to be faster, more like 0.2 seconds. Both endpoints are in the same intranet, the client directly connected via ethernet and the server...
Hello everyone.
I hope this is a quick question I hope. I need to write some reports and then have the user prompted to save it to his/her local machine. The last time I did this I wrote a file to the webserver and then sent it to the client via Response object.
to create on the webserver
TextWriter tw = new StreamWri...
I have this code
private void writeReport(IReport report, string reportName)
{
string reportString = report.makeReport();
ASCIIEncoding encoding = new ASCIIEncoding();
byte[] encodedReport = encoding.GetBytes(reportString);
Response.ContentType = "text/plain";
Response.AddHeader("Conte...
My aim is to stream a .htm file via Response.WriteFile("Sample.htm"); and then access a specific html element (ex. <a runat="server" id="myAnchor" /> ) from the Response which happened in the Page_PreInit Event.
I tried it already with ((HtmlGenericControl)myAnchor) but it doesn't work. It only works, if the anchor tag is inside the .as...
Hi there,
I want a Servlet to handle requests to files depending on prefix and extension, e.g.
prefix_*.xml
Since mapping on beginning AND end of request path is not possible, I have mapped all .xml requests to my Servlet.
The question now is: how can I drop out of my servlet for XML files not starting with "prefix", so that the reques...
Hi All,
I want to Stream a PDF to a new browser instance. I currently have this
Response.ContentType = "application/pdf"
Response.AddHeader("Content-Disposition", "inline; filename=""" & Path.GetFileName(pdfFile) & """")
Response.AddHeader("Content-Length", stream.Length)
Response.BinaryWrite(stream.ToArray())
Response.Flush()
But thi...
Hi!
I am receiving an empty response when calling a web method using asp.net in Chrome but not IE nor FF. I get this behavior using the ASP PageMethod.func as well as using jquery ajax call.
I can 'fix' the symptom by adding a delay sleep call on the server which makes me believe code is just plain wrong somewhere. I have the webkit...