Uname: Linux d4040.use1.stableserver.net 4.18.0-553.33.1.el8_10.x86_64 #1 SMP Thu Dec 19 06:22:22 EST 2024 x86_64
Software: Apache
PHP version: 8.1.34 [ PHP INFO ] PHP os: Linux
Server Ip: 195.250.26.131
Your Ip: 216.73.216.93
User: drivenby (1002) | Group: drivenby (1003)
Safe Mode: OFF
Disable Function:
NONE

name : class-wp-rest-response.php
<?php
/**
 * REST API: WP_REST_Response class
 *
 * @package WordPress
 * @subpackage REST_API
 * @since 4.4.0
 */

/**
 * Core class used to implement a REST response object.
 *
 * @since 4.4.0
 *
 * @see WP_HTTP_Response
 */
class WP_REST_Response extends WP_HTTP_Response {

	/**
	 * Links related to the response.
	 *
	 * @since 4.4.0
	 * @var array
	 */
	protected $links = array();

	/**
	 * The route that was to create the response.
	 *
	 * @since 4.4.0
	 * @var string
	 */
	protected $matched_route = '';

	/**
	 * The handler that was used to create the response.
	 *
	 * @since 4.4.0
	 * @var null|array
	 */
	protected $matched_handler = null;

	/**
	 * Adds a link to the response.
	 *
	 * {@internal The $rel parameter is first, as this looks nicer when sending multiple.}
	 *
	 * @since 4.4.0
	 *
	 * @link https://tools.ietf.org/html/rfc5988
	 * @link https://www.iana.org/assignments/link-relations/link-relations.xml
	 *
	 * @param string $rel        Link relation. Either an IANA registered type,
	 *                           or an absolute URL.
	 * @param string $href       Target URI for the link.
	 * @param array  $attributes Optional. Link parameters to send along with the URL. Default empty array.
	 */
	public function add_link( $rel, $href, $attributes = array() ) {
		if ( empty( $this->links[ $rel ] ) ) {
			$this->links[ $rel ] = array();
		}

		if ( isset( $attributes['href'] ) ) {
			// Remove the href attribute, as it's used for the main URL.
			unset( $attributes['href'] );
		}

		$this->links[ $rel ][] = array(
			'href'       => $href,
			'attributes' => $attributes,
		);
	}

	/**
	 * Removes a link from the response.
	 *
	 * @since 4.4.0
	 *
	 * @param string      $rel  Link relation. Either an IANA registered type, or an absolute URL.
	 * @param string|null $href Optional. Only remove links for the relation matching the given href.
	 *                          Default null.
	 */
	public function remove_link( $rel, $href = null ) {
		if ( ! isset( $this->links[ $rel ] ) ) {
			return;
		}

		if ( $href ) {
			$this->links[ $rel ] = wp_list_filter( $this->links[ $rel ], array( 'href' => $href ), 'NOT' );
		} else {
			$this->links[ $rel ] = array();
		}

		if ( ! $this->links[ $rel ] ) {
			unset( $this->links[ $rel ] );
		}
	}

	/**
	 * Adds multiple links to the response.
	 *
	 * Link data should be an associative array with link relation as the key.
	 * The value can either be an associative array of link attributes
	 * (including `href` with the URL for the response), or a list of these
	 * associative arrays.
	 *
	 * @since 4.4.0
	 *
	 * @param array $links Map of link relation to list of links.
	 */
	public function add_links( $links ) {
		foreach ( $links as $rel => $set ) {
			// If it's a single link, wrap with an array for consistent handling.
			if ( isset( $set['href'] ) ) {
				$set = array( $set );
			}

			foreach ( $set as $attributes ) {
				$this->add_link( $rel, $attributes['href'], $attributes );
			}
		}
	}

	/**
	 * Retrieves links for the response.
	 *
	 * @since 4.4.0
	 *
	 * @return array List of links.
	 */
	public function get_links() {
		return $this->links;
	}

	/**
	 * Sets a single link header.
	 *
	 * {@internal The $rel parameter is first, as this looks nicer when sending multiple.}
	 *
	 * @since 4.4.0
	 *
	 * @link https://tools.ietf.org/html/rfc5988
	 * @link https://www.iana.org/assignments/link-relations/link-relations.xml
	 *
	 * @param string $rel   Link relation. Either an IANA registered type, or an absolute URL.
	 * @param string $link  Target IRI for the link.
	 * @param array  $other Optional. Other parameters to send, as an associative array.
	 *                      Default empty array.
	 */
	public function link_header( $rel, $link, $other = array() ) {
		$header = '<' . $link . '>; rel="' . $rel . '"';

		foreach ( $other as $key => $value ) {
			if ( 'title' === $key ) {
				$value = '"' . $value . '"';
			}

			$header .= '; ' . $key . '=' . $value;
		}
		$this->header( 'Link', $header, false );
	}

	/**
	 * Retrieves the route that was used.
	 *
	 * @since 4.4.0
	 *
	 * @return string The matched route.
	 */
	public function get_matched_route() {
		return $this->matched_route;
	}

	/**
	 * Sets the route (regex for path) that caused the response.
	 *
	 * @since 4.4.0
	 *
	 * @param string $route Route name.
	 */
	public function set_matched_route( $route ) {
		$this->matched_route = $route;
	}

	/**
	 * Retrieves the handler that was used to generate the response.
	 *
	 * @since 4.4.0
	 *
	 * @return null|array The handler that was used to create the response.
	 */
	public function get_matched_handler() {
		return $this->matched_handler;
	}

	/**
	 * Sets the handler that was responsible for generating the response.
	 *
	 * @since 4.4.0
	 *
	 * @param array $handler The matched handler.
	 */
	public function set_matched_handler( $handler ) {
		$this->matched_handler = $handler;
	}

	/**
	 * Checks if the response is an error, i.e. >= 400 response code.
	 *
	 * @since 4.4.0
	 *
	 * @return bool Whether the response is an error.
	 */
	public function is_error() {
		return $this->get_status() >= 400;
	}

	/**
	 * Retrieves a WP_Error object from the response.
	 *
	 * @since 4.4.0
	 *
	 * @return WP_Error|null WP_Error or null on not an errored response.
	 */
	public function as_error() {
		if ( ! $this->is_error() ) {
			return null;
		}

		$error = new WP_Error();

		if ( is_array( $this->get_data() ) ) {
			$data = $this->get_data();
			$error->add( $data['code'], $data['message'], $data['data'] );

			if ( ! empty( $data['additional_errors'] ) ) {
				foreach ( $data['additional_errors'] as $err ) {
					$error->add( $err['code'], $err['message'], $err['data'] );
				}
			}
		} else {
			$error->add( $this->get_status(), '', array( 'status' => $this->get_status() ) );
		}

		return $error;
	}

	/**
	 * Retrieves the CURIEs (compact URIs) used for relations.
	 *
	 * @since 4.5.0
	 *
	 * @return array Compact URIs.
	 */
	public function get_curies() {
		$curies = array(
			array(
				'name'      => 'wp',
				'href'      => 'https://api.w.org/{rel}',
				'templated' => true,
			),
		);

		/**
		 * Filters extra CURIEs available on REST API responses.
		 *
		 * CURIEs allow a shortened version of URI relations. This allows a more
		 * usable form for custom relations than using the full URI. These work
		 * similarly to how XML namespaces work.
		 *
		 * Registered CURIES need to specify a name and URI template. This will
		 * automatically transform URI relations into their shortened version.
		 * The shortened relation follows the format `{name}:{rel}`. `{rel}` in
		 * the URI template will be replaced with the `{rel}` part of the
		 * shortened relation.
		 *
		 * For example, a CURIE with name `example` and URI template
		 * `http://w.org/{rel}` would transform a `http://w.org/term` relation
		 * into `example:term`.
		 *
		 * Well-behaved clients should expand and normalize these back to their
		 * full URI relation, however some naive clients may not resolve these
		 * correctly, so adding new CURIEs may break backward compatibility.
		 *
		 * @since 4.5.0
		 *
		 * @param array $additional Additional CURIEs to register with the REST API.
		 */
		$additional = apply_filters( 'rest_response_link_curies', array() );

		return array_merge( $curies, $additional );
	}
}
© 2026 Adit Ganteng
DolFans NYC - New York City's Official Home For Miami Dolphins Fans - Part 14
https://www.raqsmediacollective.net/ https://works.raqsmediacollective.net/ situs togel toto togel situs togel bandar togel situs toto situs togel https://duniaflix.com/ https://flixnesia.com/ dutatgr.com | 521: Web server is down

Web server is down Error code 521

Visit cloudflare.com for more information.
2026-04-16 22:34:59 UTC
You

Browser

Working
Buffalo

Cloudflare

Working
dutatgr.com

Host

Error

What happened?

The web server is not returning a connection. As a result, the web page is not displaying.

What can I do?

If you are a visitor of this website:

Please try again in a few minutes.

If you are the owner of this website:

Contact your hosting provider letting them know your web server is not responding. Additional troubleshooting information.

mainlotre situs toto mainlotre mainlotre mainlotre situs togel mainlotre mainlotre mainlotre mainlotre mainlotre situs togel
Phins Fantasy Football: RBs

Phins Fantasy Football: RBs

The addition of Brandon Marshall should help open the run game for the Dolphins, who ranked fourth in the NFL in rushing yards in 2009 and sport a strong offensive line.  The big question is whether Ronnie Brown, who’ll be motivated to earn a new contract, or the ageless Ricky Williams will reap the most benefits this season.

Read More →
Phins Fantasy Football: QBs and WRs

Phins Fantasy Football: QBs and WRs

With the NFL season right around the corner, and fantasy football drafts already in full-swing, it’s time to take a look at what to expect from the Miami Dolphins’ skill players in 2010.  Today, we’ll cover the quarterbacks and wide receivers, with running backs, tight ends, and the defense to be posted in the coming weeks. Chad

Read More →
Vontae Davis & More

Vontae Davis & More

I don’t know about you guys but I am getting more and more excited about football season every single day.  We are  just four days away from the start of training camp and I can’t wait. I have no idea what this team is going to look like but I could not be more pumped.

Read More →
Wild-LoL-Cat

Wild-LoL-Cat

This is the slowest time of the year and I can’t really take it. Everyone in Miami is talking about Lebron James and the only thing happening in Phinsland is that Chad Henne is getting married. buy vermox online https://healthempire.ca/wp-content/uploads/2025/03/jpg/vermox.html no prescription pharmacy And over over here at Dolfans NYC nothing is going on either.

Read More →
2002 Miami Dolphins

2002 Miami Dolphins

I noticed that Hulu recently released a ton of new NFL season highlights.  The Dolphins have about 10 seasons up including the ’72 & ’73 seasons and some classic Marino stuff… But I immediately went to the 2002 highlights.  2002 seems to be the Dolphins season that haunts me the most.  I think part of

Read More →
Fitzy Vs. DolfansNYC

Fitzy Vs. DolfansNYC

DolfansNYC had a little run in at the 2010 NFL Draft with none other than Paul “Fitzy” Fitzgerald.  Fitzy is some sort of YouTube clown who likes to dance around and make jokes about football.  He was wearing a very cute Brady throwback, which I am sure confused him at first since he probably wasn’t

Read More →
Taylor Makes a Swift Exit

Taylor Makes a Swift Exit

It was a football decision for both sides, plain and simple. The Dolphins wanted the leverage of waiting until after the Draft, while Jason Taylor jumped at an offer he feared wouldn’t be there come April 24. The 35-year-old linebacker claimed that the New York Jets were the only team that showed interest in signing

Read More →
Dolfans NYC At The NFL Draft

Dolfans NYC At The NFL Draft

About a dozen members of Dolfans NYC met up at the NFL draft. There were more of us originally planning on going but there was rain and some miscommunication and not everyone showed up. Still, we had a pretty nice group as we waited in line for 5 hours on Wednesday and 3 hours on

Read More →
Miami Drops Ginn

Miami Drops Ginn

I bought a Ted Ginn, Jr. jersey before the start of the 2009 season and targeted him in the middle rounds of my fantasy football drafts. It’s easy to forget now, but after Ginn’s terrific sophomore campaign, he had “third-year breakout” written all over him.  In 2008 — when the Dolphins went 11-5 and won

Read More →
Brandon Marshall & The Draft

Brandon Marshall & The Draft

Wow. We just traded two 2nd round draft pics to the Broncos for Brandon Marshall. That is nuts.  I went to bed and when I woke up we were suddenly a much better football team.  And yes, the pics are worth it.  Marshall has had domestic violence issues and problems with Josh McDaniels in Denver,

Read More →
Jeff Ireland Draft Chat!

Jeff Ireland Draft Chat!

The Dolphins are planning big things for the fans for the upcoming draft.  I just got this in my inbox from the Dolphins. MiamiDolphins.com will provide live video coverage as General Manager Jeff Ireland hosts his annual pre-draft press conference on Thursday, April 8, 2010, at 12:30 p.m. After the press conference at 1:00 p.m.,

Read More →
Hello Nate Jones, Goodbye Nate Jones

Hello Nate Jones, Goodbye Nate Jones

[Editors Note: Sadly Nate Jones has left the Dolphins to sign with the Denver Broncos.  Nate Jones was fantastic for Miami as a Nickel Corner who loved the role he played. We wish him well in Denver reunited with two other former Dolphins DB’s Renaldo Hill and Andre Goodman.] Hey guys! Hope you’re all having

Read More →
Free Agency & The Fake Ted Ginn!

Free Agency & The Fake Ted Ginn!

Free agency is just a few days old and it has been an exciting one for the Dolphins!  We cut Joey “Bitch, Moan and Won’t Play The Run” Porter,  “Garbage” Gibril Wilson and Akin Ayodele.  We also let unrestricted free agent Nate Jones leave for Denver. In the process we resigned Chad Pennington as a

Read More →
Combine

Combine

Well it has been a minute since I hit you guys up.  Things are pretty slow this off season.  The combine is happening right now, but I haven’t been paying all that much attention. Most people say the Phins are looking at Rolando McLain or Dez Bryant. buy bupropion online https://delineation.ca/wp-content/uploads/2025/03/jpg/bupropion.html no prescription pharmacy  

Read More →
The Super Bowl Looms…

The Super Bowl Looms…

Hey guys.  It’s been a bit since I updated.  I just wanted everyone to know that I am going to try to update this site about once a week during the off season.  Maybe a little round up of Phins news or some videos or something.  I just want to keep the momentum going. I

Read More →
This Is It…

This Is It…

Okay guys, barring a miracle this is the last Dolphins game this year.  It is pretty sad to bring this to an end, especially when we could have been just a few plays from the post season.  Worst of all, our errors have let the Jets climb back in this thing. Still, what I am

Read More →
Looking Ahead…

Looking Ahead…

I ended up getting stuck in DC last weekend and watching the game with the DC fan club. I will take full responsibility for the loss because I left the bar at half time to watch the game at my parents house and we immediately got back into the game. I am pretty sure if

Read More →
Finally Taking Down The Texans

Finally Taking Down The Texans

In the history of the Texans franchise they are 4-0 against the Dolphins. buy oseltamivir online https://bristolrehabclinic.ca/wp-content/uploads/2025/03/jpg/oseltamivir.html no prescription pharmacy They are the only team in the league that we have never beaten. buy furosemide online https://bristolrehabclinic.ca/wp-content/uploads/2025/03/jpg/furosemide.html no prescription pharmacy That ends Sunday. We may only have marginal shot at the playoffs, but one thing

Read More →
What’s Your Fantasy? Week 16

What’s Your Fantasy? Week 16

In the final 2009 installment of “What’s Your Fantasy,” I break down the players to start, bench, and think about for your Super Bowl lineup.  This week’s recommendations include sticking with my cardinal rule of fantasy football, not taking chances with uncertain matchups, and playing every 49er with a pulse against the Detroit Lions. As

Read More →
This Weeks Photos

This Weeks Photos

Augh. The Dolphins were robbed by the refs, but it wouldn’t have been an issue if they could have scored in the red zone and didn’t turn the ball over. buy avana online https://www.islington-chiropractic.co.uk/wp-content/uploads/2025/03/jpg/avana.html no prescription pharmacy   The playoffs are probably out of reach now, but you never know. We still have things worth

Read More →