The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Rails :: Diferencia entre el respond_to y el request.xhr?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Edgar Gonzalez

Posts: 560
Nickname: egg
Registered: Feb, 2006

Edgar Gonzalez is Chief Technology Officer for VALHALLA project
Rails :: Diferencia entre el respond_to y el request.xhr? Posted: Jul 3, 2006 12:52 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Edgar Gonzalez.
Original Post: Rails :: Diferencia entre el respond_to y el request.xhr?
Feed Title: La Cara Oscura del Desarrollo de Software
Feed URL: http://www.lacaraoscura.com/feed/
Feed Description: Our experiences day after day about software development: programming languages, standards, design patterns, tools and tips. (blog in spanish)
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Edgar Gonzalez
Latest Posts From La Cara Oscura del Desarrollo de Software

Advertisement
A raiz de la inclusión del soporte para servicios web tipo REST en Rails 1.1, algunos han confundido la funcionalidad del respond_to y el request.xhr?. El request.xhr? verifica que el encabezado (header) HTTP_X_REQUESTED_WITH exista en el requerimiento HTTP y tenga el valor: 'XMLHttpRequest' Este header es fijado automáticamente por prototype, con lo cual request.xhr? es principalmente usado para [...]

Read: Rails :: Diferencia entre el respond_to y el request.xhr?

Topic: The Ruby Community Rocks! Previous Topic   Next Topic Topic: Rails v1.1.4 Released

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use