Displaying 16 results from an estimated 16 matches for "setrequestheaders".
Did you mean:
setrequestheader
2009 Jul 24
6
Routes from raw js (using XMLHttpRequest)
I am making an ajax call from js to call a method (assocboxchange) in
my controller (AssociatesController), using XMLHttpRequest. I know
the XMLHttpRequest works fine because I use it in other places with
success. My problem is my URL I am using for this request doesn;t
access the method in my controller which I (think) I am specifying. I
am having it post to /channels/assocboxchange/" with
2008 Apr 21
1
Ajax.request - SOAPAction
If I build my own XMLHttpRequest, I can do the following:
this.xmlHttp.setRequestHeader("SOAPAction", ''updateClient'');
How can I do the same with AjaxRequest()?
var myAjax = new Ajax.Request(
this.service,
{
method:''post'',
postBody:soapXML,
2008 Sep 25
2
jquery, format.js and IE
I''m trying to use jQuery to write all my js unobtrusively, and running
into a bit of a problem when triggering the format.js block in IE6 (and
possibly IE7). It returns the JSON string no problem, but instead of
parsing it, IE6 asks to download the resource as a .js file.
So if my url is ''/pictures/1.js'', IE6 will ask to save or run ''1.js''
I did do
2010 Sep 23
8
HowTo; Rails 3, having Tabs that load content via jQuery ... No Page Refesh
Hello, I''m interested in learning the correct/smart approach for
implementing a web page with tabs and a content panel... When the tab
is clicked by the user the tab''s content is fetched and inserted with
jQuery... no page refresh...
Example, Facebook, when you click Photos or Events, it doesn''t refresh
the browser, just replaces the content with AJAX in the
2006 Jan 26
0
XML Request in R: Pointers/examples needed
Hello R-helpers,
I'm new to XML. I have been using an application for some time, but now I
wish to automate my downloads with R. When I use the web interface of their
XML application, I'm able to read the response in R with the XML package.
My problem now is to send the requests directly from R. Here below are two
XML request scripts that come from the applicaton help file. My
2010 Nov 06
0
Rails and JQuery and Ajax/Json question
Hi,
I am using JQuery in my rails app. I''ve taken the approach outlined
in Ryan Bates''s Railscast on jquery to do the following:
jQuery.ajaxSetup({
''beforeSend'' : function(xhr) {xhr.setRequestHeader("Accept",
"text/javascript")}
});
to set my ajax call request Headers to text/javascript so that my
respond to block for javascript is
2013 Jan 16
0
Rails 3.2 jQuery JSONP request not working - Moved Permanently
I am trying to send a POST request ( ''remove_tag_named'' )and getting a
simple OK back on success ; it doesn''t work..
the post is correctly sent , but after then it''s looping on sending a GET
request to the same url, with the error
301 Moved Permanently
I should not be far fro the solution, but I am stuck :
In my routes.rb
*namespace
2006 Jan 04
6
ajax in rails is a security violation
Does anybody have any issues with the AJAX code inside rails? Whenever i
use any sites i have built, or even external sites (such as basecamphq) my
internal security device blocks access to the Ajax piece with a 400 Bad
Request ( i scoured the net for other ajax examples and no isses anywhere
else). I think there is something in the AJAX code of rails that is not
implemented correctly. Has
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
host static anyterm content locally,
url parameterize anyterm rows/cols/general param
update spec/makefile
Ideally I wanted and tried hard to put all this into a
seperate ovirt-server--anyterm subpackage, but we cannot
'reopen' the ovirt server virtual host defined in
ovirt-server.conf to add the neccessary rewrite rules. it would
be nice to figure out a way to do this
---
2009 Aug 23
4
Routing problems for different formats
I am having 2 similar problems with routing.
1. With Rails if I make a js request using jQuery I always have to
append a ".js" extension to allow the request to be handled
appropriately. If I don''t append a js extension I get html formatted
data back. Using Merb this never happened and worked like I thought it
should.
2. Today I am having problems allowing xml requests to be
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find
anyone else who''s attempted to do this, and probably with good reason.
Context: blog using AJAX
What I''m trying to do: when the user initially saves a blog entry, or
when auto-saving, I want subsequent saves to not create a new blog
entry
Why I can''t just reload the partial:
-
2007 Apr 28
6
RESTful web service tutorial?
Hi,
I would like to turn some of our simulation codes
out to pasture and string some of them together
by draping them in web services.
I''m looking for a RESTful Camping tutorial to get
started ... pointers appreciated.
Some simple example applications:
airfoil force calculator: feed it an airfoil
geometry, an angle of attack, and a Mach number,
and it returns the lift, drag, and
2011 May 25
0
Issues implementing jquery-form plugin for displaying image via an ajax call in my rails poc
Hello all,
I am trying to implement a POC wherein I can post a message + image and
get the same working via AJAX to display them both for each new entry
without the page reloading.
I am using a config of Ruby 1.8.7 and Rails 2.0.2 for project specific
purposes.. I am also using a pretty old paperclip commit from github for
this....I had to suit my proj config requirements mentioned previously..
2010 Oct 01
0
Wine release 1.3.4
The Wine development release 1.3.4 is now available.
What's new in this release (see below for details):
- Support for right-to-left mirrored windows.
- Winelib now supports the ARM platform.
- New taskkill.exe built-in application.
- Inetcpl control panel fleshed out.
- AcceptEx is implemented now.
- Improved security checks for SSL connections.
- Translation updates.
-
2010 Aug 20
0
Wine release 1.3.1
The Wine development release 1.3.1 is now available.
What's new in this release (see below for details):
- Support for drag & drop between X11 and OLE.
- New ipconfig.exe builtin tool.
- Support for favorites in builtin Internet Explorer.
- Beginnings of a shell Explorer control.
- A number of DirectDraw code cleanups.
- Improvements to the calendar control.
- Various bug
2011 Aug 05
0
Wine release 1.3.26
The Wine development release 1.3.26 is now available.
What's new in this release (see below for details):
- Various improvements to the builtin Internet Explorer.
- Support for Get/SetDIBits in the DIB engine.
- Support for enhanced metafiles in the View tool.
- Many improvements in WinHTTP.
- A number of fixes to the COM stubless marshaller.
- Improved mechanism for DLL